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\Analytics;
19
20class GaDataQuery extends \Google\Collection
21{
22  protected $collection_key = 'sort';
23  protected $internal_gapi_mappings = [
24        "endDate" => "end-date",
25        "maxResults" => "max-results",
26        "startDate" => "start-date",
27        "startIndex" => "start-index",
28  ];
29  /**
30   * @var string
31   */
32  public $dimensions;
33  /**
34   * @var string
35   */
36  public $endDate;
37  /**
38   * @var string
39   */
40  public $filters;
41  /**
42   * @var string
43   */
44  public $ids;
45  /**
46   * @var int
47   */
48  public $maxResults;
49  /**
50   * @var string[]
51   */
52  public $metrics;
53  /**
54   * @var string
55   */
56  public $samplingLevel;
57  /**
58   * @var string
59   */
60  public $segment;
61  /**
62   * @var string[]
63   */
64  public $sort;
65  /**
66   * @var string
67   */
68  public $startDate;
69  /**
70   * @var int
71   */
72  public $startIndex;
73
74  /**
75   * @param string
76   */
77  public function setDimensions($dimensions)
78  {
79    $this->dimensions = $dimensions;
80  }
81  /**
82   * @return string
83   */
84  public function getDimensions()
85  {
86    return $this->dimensions;
87  }
88  /**
89   * @param string
90   */
91  public function setEndDate($endDate)
92  {
93    $this->endDate = $endDate;
94  }
95  /**
96   * @return string
97   */
98  public function getEndDate()
99  {
100    return $this->endDate;
101  }
102  /**
103   * @param string
104   */
105  public function setFilters($filters)
106  {
107    $this->filters = $filters;
108  }
109  /**
110   * @return string
111   */
112  public function getFilters()
113  {
114    return $this->filters;
115  }
116  /**
117   * @param string
118   */
119  public function setIds($ids)
120  {
121    $this->ids = $ids;
122  }
123  /**
124   * @return string
125   */
126  public function getIds()
127  {
128    return $this->ids;
129  }
130  /**
131   * @param int
132   */
133  public function setMaxResults($maxResults)
134  {
135    $this->maxResults = $maxResults;
136  }
137  /**
138   * @return int
139   */
140  public function getMaxResults()
141  {
142    return $this->maxResults;
143  }
144  /**
145   * @param string[]
146   */
147  public function setMetrics($metrics)
148  {
149    $this->metrics = $metrics;
150  }
151  /**
152   * @return string[]
153   */
154  public function getMetrics()
155  {
156    return $this->metrics;
157  }
158  /**
159   * @param string
160   */
161  public function setSamplingLevel($samplingLevel)
162  {
163    $this->samplingLevel = $samplingLevel;
164  }
165  /**
166   * @return string
167   */
168  public function getSamplingLevel()
169  {
170    return $this->samplingLevel;
171  }
172  /**
173   * @param string
174   */
175  public function setSegment($segment)
176  {
177    $this->segment = $segment;
178  }
179  /**
180   * @return string
181   */
182  public function getSegment()
183  {
184    return $this->segment;
185  }
186  /**
187   * @param string[]
188   */
189  public function setSort($sort)
190  {
191    $this->sort = $sort;
192  }
193  /**
194   * @return string[]
195   */
196  public function getSort()
197  {
198    return $this->sort;
199  }
200  /**
201   * @param string
202   */
203  public function setStartDate($startDate)
204  {
205    $this->startDate = $startDate;
206  }
207  /**
208   * @return string
209   */
210  public function getStartDate()
211  {
212    return $this->startDate;
213  }
214  /**
215   * @param int
216   */
217  public function setStartIndex($startIndex)
218  {
219    $this->startIndex = $startIndex;
220  }
221  /**
222   * @return int
223   */
224  public function getStartIndex()
225  {
226    return $this->startIndex;
227  }
228}
229
230// Adding a class alias for backwards compatibility with the previous class name.
231class_alias(GaDataQuery::class, 'Google_Service_Analytics_GaDataQuery');
232