1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service\AnalyticsData;
19
20class RunReportRequest extends \Google\Collection
21{
22  protected $collection_key = 'orderBys';
23  protected $cohortSpecType = CohortSpec::class;
24  protected $cohortSpecDataType = '';
25  /**
26   * @var string
27   */
28  public $currencyCode;
29  protected $dateRangesType = DateRange::class;
30  protected $dateRangesDataType = 'array';
31  protected $dimensionFilterType = FilterExpression::class;
32  protected $dimensionFilterDataType = '';
33  protected $dimensionsType = Dimension::class;
34  protected $dimensionsDataType = 'array';
35  /**
36   * @var bool
37   */
38  public $keepEmptyRows;
39  /**
40   * @var string
41   */
42  public $limit;
43  /**
44   * @var string[]
45   */
46  public $metricAggregations;
47  protected $metricFilterType = FilterExpression::class;
48  protected $metricFilterDataType = '';
49  protected $metricsType = Metric::class;
50  protected $metricsDataType = 'array';
51  /**
52   * @var string
53   */
54  public $offset;
55  protected $orderBysType = OrderBy::class;
56  protected $orderBysDataType = 'array';
57  /**
58   * @var string
59   */
60  public $property;
61  /**
62   * @var bool
63   */
64  public $returnPropertyQuota;
65
66  /**
67   * @param CohortSpec
68   */
69  public function setCohortSpec(CohortSpec $cohortSpec)
70  {
71    $this->cohortSpec = $cohortSpec;
72  }
73  /**
74   * @return CohortSpec
75   */
76  public function getCohortSpec()
77  {
78    return $this->cohortSpec;
79  }
80  /**
81   * @param string
82   */
83  public function setCurrencyCode($currencyCode)
84  {
85    $this->currencyCode = $currencyCode;
86  }
87  /**
88   * @return string
89   */
90  public function getCurrencyCode()
91  {
92    return $this->currencyCode;
93  }
94  /**
95   * @param DateRange[]
96   */
97  public function setDateRanges($dateRanges)
98  {
99    $this->dateRanges = $dateRanges;
100  }
101  /**
102   * @return DateRange[]
103   */
104  public function getDateRanges()
105  {
106    return $this->dateRanges;
107  }
108  /**
109   * @param FilterExpression
110   */
111  public function setDimensionFilter(FilterExpression $dimensionFilter)
112  {
113    $this->dimensionFilter = $dimensionFilter;
114  }
115  /**
116   * @return FilterExpression
117   */
118  public function getDimensionFilter()
119  {
120    return $this->dimensionFilter;
121  }
122  /**
123   * @param Dimension[]
124   */
125  public function setDimensions($dimensions)
126  {
127    $this->dimensions = $dimensions;
128  }
129  /**
130   * @return Dimension[]
131   */
132  public function getDimensions()
133  {
134    return $this->dimensions;
135  }
136  /**
137   * @param bool
138   */
139  public function setKeepEmptyRows($keepEmptyRows)
140  {
141    $this->keepEmptyRows = $keepEmptyRows;
142  }
143  /**
144   * @return bool
145   */
146  public function getKeepEmptyRows()
147  {
148    return $this->keepEmptyRows;
149  }
150  /**
151   * @param string
152   */
153  public function setLimit($limit)
154  {
155    $this->limit = $limit;
156  }
157  /**
158   * @return string
159   */
160  public function getLimit()
161  {
162    return $this->limit;
163  }
164  /**
165   * @param string[]
166   */
167  public function setMetricAggregations($metricAggregations)
168  {
169    $this->metricAggregations = $metricAggregations;
170  }
171  /**
172   * @return string[]
173   */
174  public function getMetricAggregations()
175  {
176    return $this->metricAggregations;
177  }
178  /**
179   * @param FilterExpression
180   */
181  public function setMetricFilter(FilterExpression $metricFilter)
182  {
183    $this->metricFilter = $metricFilter;
184  }
185  /**
186   * @return FilterExpression
187   */
188  public function getMetricFilter()
189  {
190    return $this->metricFilter;
191  }
192  /**
193   * @param Metric[]
194   */
195  public function setMetrics($metrics)
196  {
197    $this->metrics = $metrics;
198  }
199  /**
200   * @return Metric[]
201   */
202  public function getMetrics()
203  {
204    return $this->metrics;
205  }
206  /**
207   * @param string
208   */
209  public function setOffset($offset)
210  {
211    $this->offset = $offset;
212  }
213  /**
214   * @return string
215   */
216  public function getOffset()
217  {
218    return $this->offset;
219  }
220  /**
221   * @param OrderBy[]
222   */
223  public function setOrderBys($orderBys)
224  {
225    $this->orderBys = $orderBys;
226  }
227  /**
228   * @return OrderBy[]
229   */
230  public function getOrderBys()
231  {
232    return $this->orderBys;
233  }
234  /**
235   * @param string
236   */
237  public function setProperty($property)
238  {
239    $this->property = $property;
240  }
241  /**
242   * @return string
243   */
244  public function getProperty()
245  {
246    return $this->property;
247  }
248  /**
249   * @param bool
250   */
251  public function setReturnPropertyQuota($returnPropertyQuota)
252  {
253    $this->returnPropertyQuota = $returnPropertyQuota;
254  }
255  /**
256   * @return bool
257   */
258  public function getReturnPropertyQuota()
259  {
260    return $this->returnPropertyQuota;
261  }
262}
263
264// Adding a class alias for backwards compatibility with the previous class name.
265class_alias(RunReportRequest::class, 'Google_Service_AnalyticsData_RunReportRequest');
266