<?php

namespace Google\Service\AnalyticsData;

/**
 *
 * @package JREALTIMEANALYTICS::FRAMEWORK::administrator::components::com_jrealtimeanalytics
 * @subpackage framework
 * @subpackage google
 * @author Joomla! Extensions Store
 * @copyright (C) 2021 - Joomla! Extensions Store
 * @license GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html
 */
defined ( '_JEXEC' ) or die ();
class PivotOrderBy extends \Google\Collection {
	protected $collection_key = 'pivotSelections';
	public $metricName;
	protected $pivotSelectionsType = PivotSelection::class;
	protected $pivotSelectionsDataType = 'array';
	public function setMetricName($metricName) {
		$this->metricName = $metricName;
	}
	public function getMetricName() {
		return $this->metricName;
	}
	/**
	 *
	 * @param
	 *        	PivotSelection[]
	 */
	public function setPivotSelections($pivotSelections) {
		$this->pivotSelections = $pivotSelections;
	}
	/**
	 *
	 * @return PivotSelection[]
	 */
	public function getPivotSelections() {
		return $this->pivotSelections;
	}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias ( PivotOrderBy::class, 'Google_Service_AnalyticsData_PivotOrderBy' );
