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 GaData extends \Google\Collection
21{
22  protected $collection_key = 'rows';
23  protected $columnHeadersType = GaDataColumnHeaders::class;
24  protected $columnHeadersDataType = 'array';
25  /**
26   * @var bool
27   */
28  public $containsSampledData;
29  /**
30   * @var string
31   */
32  public $dataLastRefreshed;
33  protected $dataTableType = GaDataDataTable::class;
34  protected $dataTableDataType = '';
35  /**
36   * @var string
37   */
38  public $id;
39  /**
40   * @var int
41   */
42  public $itemsPerPage;
43  /**
44   * @var string
45   */
46  public $kind;
47  /**
48   * @var string
49   */
50  public $nextLink;
51  /**
52   * @var string
53   */
54  public $previousLink;
55  protected $profileInfoType = GaDataProfileInfo::class;
56  protected $profileInfoDataType = '';
57  protected $queryType = GaDataQuery::class;
58  protected $queryDataType = '';
59  /**
60   * @var string[]
61   */
62  public $rows;
63  /**
64   * @var string
65   */
66  public $sampleSize;
67  /**
68   * @var string
69   */
70  public $sampleSpace;
71  /**
72   * @var string
73   */
74  public $selfLink;
75  /**
76   * @var int
77   */
78  public $totalResults;
79  /**
80   * @var string[]
81   */
82  public $totalsForAllResults;
83
84  /**
85   * @param GaDataColumnHeaders[]
86   */
87  public function setColumnHeaders($columnHeaders)
88  {
89    $this->columnHeaders = $columnHeaders;
90  }
91  /**
92   * @return GaDataColumnHeaders[]
93   */
94  public function getColumnHeaders()
95  {
96    return $this->columnHeaders;
97  }
98  /**
99   * @param bool
100   */
101  public function setContainsSampledData($containsSampledData)
102  {
103    $this->containsSampledData = $containsSampledData;
104  }
105  /**
106   * @return bool
107   */
108  public function getContainsSampledData()
109  {
110    return $this->containsSampledData;
111  }
112  /**
113   * @param string
114   */
115  public function setDataLastRefreshed($dataLastRefreshed)
116  {
117    $this->dataLastRefreshed = $dataLastRefreshed;
118  }
119  /**
120   * @return string
121   */
122  public function getDataLastRefreshed()
123  {
124    return $this->dataLastRefreshed;
125  }
126  /**
127   * @param GaDataDataTable
128   */
129  public function setDataTable(GaDataDataTable $dataTable)
130  {
131    $this->dataTable = $dataTable;
132  }
133  /**
134   * @return GaDataDataTable
135   */
136  public function getDataTable()
137  {
138    return $this->dataTable;
139  }
140  /**
141   * @param string
142   */
143  public function setId($id)
144  {
145    $this->id = $id;
146  }
147  /**
148   * @return string
149   */
150  public function getId()
151  {
152    return $this->id;
153  }
154  /**
155   * @param int
156   */
157  public function setItemsPerPage($itemsPerPage)
158  {
159    $this->itemsPerPage = $itemsPerPage;
160  }
161  /**
162   * @return int
163   */
164  public function getItemsPerPage()
165  {
166    return $this->itemsPerPage;
167  }
168  /**
169   * @param string
170   */
171  public function setKind($kind)
172  {
173    $this->kind = $kind;
174  }
175  /**
176   * @return string
177   */
178  public function getKind()
179  {
180    return $this->kind;
181  }
182  /**
183   * @param string
184   */
185  public function setNextLink($nextLink)
186  {
187    $this->nextLink = $nextLink;
188  }
189  /**
190   * @return string
191   */
192  public function getNextLink()
193  {
194    return $this->nextLink;
195  }
196  /**
197   * @param string
198   */
199  public function setPreviousLink($previousLink)
200  {
201    $this->previousLink = $previousLink;
202  }
203  /**
204   * @return string
205   */
206  public function getPreviousLink()
207  {
208    return $this->previousLink;
209  }
210  /**
211   * @param GaDataProfileInfo
212   */
213  public function setProfileInfo(GaDataProfileInfo $profileInfo)
214  {
215    $this->profileInfo = $profileInfo;
216  }
217  /**
218   * @return GaDataProfileInfo
219   */
220  public function getProfileInfo()
221  {
222    return $this->profileInfo;
223  }
224  /**
225   * @param GaDataQuery
226   */
227  public function setQuery(GaDataQuery $query)
228  {
229    $this->query = $query;
230  }
231  /**
232   * @return GaDataQuery
233   */
234  public function getQuery()
235  {
236    return $this->query;
237  }
238  /**
239   * @param string[]
240   */
241  public function setRows($rows)
242  {
243    $this->rows = $rows;
244  }
245  /**
246   * @return string[]
247   */
248  public function getRows()
249  {
250    return $this->rows;
251  }
252  /**
253   * @param string
254   */
255  public function setSampleSize($sampleSize)
256  {
257    $this->sampleSize = $sampleSize;
258  }
259  /**
260   * @return string
261   */
262  public function getSampleSize()
263  {
264    return $this->sampleSize;
265  }
266  /**
267   * @param string
268   */
269  public function setSampleSpace($sampleSpace)
270  {
271    $this->sampleSpace = $sampleSpace;
272  }
273  /**
274   * @return string
275   */
276  public function getSampleSpace()
277  {
278    return $this->sampleSpace;
279  }
280  /**
281   * @param string
282   */
283  public function setSelfLink($selfLink)
284  {
285    $this->selfLink = $selfLink;
286  }
287  /**
288   * @return string
289   */
290  public function getSelfLink()
291  {
292    return $this->selfLink;
293  }
294  /**
295   * @param int
296   */
297  public function setTotalResults($totalResults)
298  {
299    $this->totalResults = $totalResults;
300  }
301  /**
302   * @return int
303   */
304  public function getTotalResults()
305  {
306    return $this->totalResults;
307  }
308  /**
309   * @param string[]
310   */
311  public function setTotalsForAllResults($totalsForAllResults)
312  {
313    $this->totalsForAllResults = $totalsForAllResults;
314  }
315  /**
316   * @return string[]
317   */
318  public function getTotalsForAllResults()
319  {
320    return $this->totalsForAllResults;
321  }
322}
323
324// Adding a class alias for backwards compatibility with the previous class name.
325class_alias(GaData::class, 'Google_Service_Analytics_GaData');
326