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\AnalyticsReporting;
19
20class ReportData extends \Google\Collection
21{
22  protected $collection_key = 'totals';
23  /**
24   * @var string
25   */
26  public $dataLastRefreshed;
27  /**
28   * @var string
29   */
30  public $emptyReason;
31  /**
32   * @var bool
33   */
34  public $isDataGolden;
35  protected $maximumsType = DateRangeValues::class;
36  protected $maximumsDataType = 'array';
37  protected $minimumsType = DateRangeValues::class;
38  protected $minimumsDataType = 'array';
39  /**
40   * @var int
41   */
42  public $rowCount;
43  protected $rowsType = ReportRow::class;
44  protected $rowsDataType = 'array';
45  /**
46   * @var string[]
47   */
48  public $samplesReadCounts;
49  /**
50   * @var string[]
51   */
52  public $samplingSpaceSizes;
53  protected $totalsType = DateRangeValues::class;
54  protected $totalsDataType = 'array';
55
56  /**
57   * @param string
58   */
59  public function setDataLastRefreshed($dataLastRefreshed)
60  {
61    $this->dataLastRefreshed = $dataLastRefreshed;
62  }
63  /**
64   * @return string
65   */
66  public function getDataLastRefreshed()
67  {
68    return $this->dataLastRefreshed;
69  }
70  /**
71   * @param string
72   */
73  public function setEmptyReason($emptyReason)
74  {
75    $this->emptyReason = $emptyReason;
76  }
77  /**
78   * @return string
79   */
80  public function getEmptyReason()
81  {
82    return $this->emptyReason;
83  }
84  /**
85   * @param bool
86   */
87  public function setIsDataGolden($isDataGolden)
88  {
89    $this->isDataGolden = $isDataGolden;
90  }
91  /**
92   * @return bool
93   */
94  public function getIsDataGolden()
95  {
96    return $this->isDataGolden;
97  }
98  /**
99   * @param DateRangeValues[]
100   */
101  public function setMaximums($maximums)
102  {
103    $this->maximums = $maximums;
104  }
105  /**
106   * @return DateRangeValues[]
107   */
108  public function getMaximums()
109  {
110    return $this->maximums;
111  }
112  /**
113   * @param DateRangeValues[]
114   */
115  public function setMinimums($minimums)
116  {
117    $this->minimums = $minimums;
118  }
119  /**
120   * @return DateRangeValues[]
121   */
122  public function getMinimums()
123  {
124    return $this->minimums;
125  }
126  /**
127   * @param int
128   */
129  public function setRowCount($rowCount)
130  {
131    $this->rowCount = $rowCount;
132  }
133  /**
134   * @return int
135   */
136  public function getRowCount()
137  {
138    return $this->rowCount;
139  }
140  /**
141   * @param ReportRow[]
142   */
143  public function setRows($rows)
144  {
145    $this->rows = $rows;
146  }
147  /**
148   * @return ReportRow[]
149   */
150  public function getRows()
151  {
152    return $this->rows;
153  }
154  /**
155   * @param string[]
156   */
157  public function setSamplesReadCounts($samplesReadCounts)
158  {
159    $this->samplesReadCounts = $samplesReadCounts;
160  }
161  /**
162   * @return string[]
163   */
164  public function getSamplesReadCounts()
165  {
166    return $this->samplesReadCounts;
167  }
168  /**
169   * @param string[]
170   */
171  public function setSamplingSpaceSizes($samplingSpaceSizes)
172  {
173    $this->samplingSpaceSizes = $samplingSpaceSizes;
174  }
175  /**
176   * @return string[]
177   */
178  public function getSamplingSpaceSizes()
179  {
180    return $this->samplingSpaceSizes;
181  }
182  /**
183   * @param DateRangeValues[]
184   */
185  public function setTotals($totals)
186  {
187    $this->totals = $totals;
188  }
189  /**
190   * @return DateRangeValues[]
191   */
192  public function getTotals()
193  {
194    return $this->totals;
195  }
196}
197
198// Adding a class alias for backwards compatibility with the previous class name.
199class_alias(ReportData::class, 'Google_Service_AnalyticsReporting_ReportData');
200