1 | <?php |
||
9 | class ByTimeData extends Model |
||
10 | { |
||
11 | |||
12 | protected $totalRows = null; |
||
13 | |||
14 | protected $sampled = null; |
||
15 | |||
16 | protected $sampleShare = null; |
||
17 | |||
18 | protected $sampleSize = null; |
||
19 | |||
20 | protected $sampleSpace = null; |
||
21 | |||
22 | protected $dataLag = null; |
||
23 | |||
24 | protected $timeIntervals = null; |
||
25 | |||
26 | protected $query = null; |
||
27 | |||
28 | protected $data = null; |
||
29 | |||
30 | protected $totals = null; |
||
31 | |||
32 | protected $mappingClasses = [ |
||
33 | 'query' => 'Yandex\Metrica\Stat\Models\Query', |
||
34 | 'data' => 'Yandex\Metrica\Stat\Models\Data' |
||
35 | ]; |
||
36 | |||
37 | protected $propNameMap = [ |
||
38 | 'total_rows' =>'totalRows', |
||
39 | 'sample_share' => 'sampleShare', |
||
40 | 'sample_size' => 'sampleSize', |
||
41 | 'sample_space' => 'sampleSpace', |
||
42 | 'data_lag' => 'dataLag', |
||
43 | 'time_intervals' => 'timeIntervals' |
||
44 | ]; |
||
45 | |||
46 | /** |
||
47 | * Retrieve the totalRows property |
||
48 | * |
||
49 | * @return int|null |
||
50 | */ |
||
51 | 4 | public function getTotalRows() |
|
55 | |||
56 | /** |
||
57 | * Set the totalRows property |
||
58 | * |
||
59 | * @param int $totalRows |
||
60 | * @return $this |
||
61 | */ |
||
62 | 3 | public function setTotalRows($totalRows) |
|
67 | |||
68 | /** |
||
69 | * Retrieve the sampled property |
||
70 | * |
||
71 | * @return bool|null |
||
72 | */ |
||
73 | 4 | public function getSampled() |
|
77 | |||
78 | /** |
||
79 | * Set the sampled property |
||
80 | * |
||
81 | * @param bool $sampled |
||
82 | * @return $this |
||
83 | */ |
||
84 | 3 | public function setSampled($sampled) |
|
89 | |||
90 | /** |
||
91 | * Retrieve the sampleShare property |
||
92 | * |
||
93 | * @return bool|null |
||
94 | */ |
||
95 | 4 | public function getSampleShare() |
|
99 | |||
100 | /** |
||
101 | * Set the sampleShare property |
||
102 | * |
||
103 | * @param bool $sampleShare |
||
104 | * @return $this |
||
105 | */ |
||
106 | 3 | public function setSampleShare($sampleShare) |
|
111 | |||
112 | /** |
||
113 | * Retrieve the sampleSize property |
||
114 | * |
||
115 | * @return int|null |
||
116 | */ |
||
117 | 4 | public function getSampleSize() |
|
121 | |||
122 | /** |
||
123 | * Set the sampleSize property |
||
124 | * |
||
125 | * @param int $sampleSize |
||
126 | * @return $this |
||
127 | */ |
||
128 | 3 | public function setSampleSize($sampleSize) |
|
133 | |||
134 | /** |
||
135 | * Retrieve the sampleSpace property |
||
136 | * |
||
137 | * @return int|null |
||
138 | */ |
||
139 | 4 | public function getSampleSpace() |
|
143 | |||
144 | /** |
||
145 | * Set the sampleSpace property |
||
146 | * |
||
147 | * @param int $sampleSpace |
||
148 | * @return $this |
||
149 | */ |
||
150 | 3 | public function setSampleSpace($sampleSpace) |
|
155 | |||
156 | /** |
||
157 | * Retrieve the dataLag property |
||
158 | * |
||
159 | * @return int|null |
||
160 | */ |
||
161 | 4 | public function getDataLag() |
|
165 | |||
166 | /** |
||
167 | * Set the dataLag property |
||
168 | * |
||
169 | * @param int $dataLag |
||
170 | * @return $this |
||
171 | */ |
||
172 | 3 | public function setDataLag($dataLag) |
|
177 | |||
178 | /** |
||
179 | * Retrieve the timeIntervals property |
||
180 | * |
||
181 | * @return array|null |
||
182 | */ |
||
183 | public function getTimeIntervals() |
||
187 | |||
188 | /** |
||
189 | * Set the timeIntervals property |
||
190 | * |
||
191 | * @param array $timeIntervals |
||
192 | * @return $this |
||
193 | */ |
||
194 | public function setTimeIntervals($timeIntervals) |
||
199 | |||
200 | /** |
||
201 | * Retrieve the query property |
||
202 | * |
||
203 | * @return Query|null |
||
204 | */ |
||
205 | 4 | public function getQuery() |
|
209 | |||
210 | /** |
||
211 | * Set the query property |
||
212 | * |
||
213 | * @param Query $query |
||
214 | * @return $this |
||
215 | */ |
||
216 | 3 | public function setQuery($query) |
|
221 | |||
222 | /** |
||
223 | * Retrieve the data property |
||
224 | * |
||
225 | * @return Data|null |
||
226 | */ |
||
227 | 4 | public function getData() |
|
231 | |||
232 | /** |
||
233 | * Set the data property |
||
234 | * |
||
235 | * @param Data $data |
||
236 | * @return $this |
||
237 | */ |
||
238 | 3 | public function setData($data) |
|
243 | |||
244 | /** |
||
245 | * Retrieve the totals property |
||
246 | * |
||
247 | * @return array|null |
||
248 | */ |
||
249 | 4 | public function getTotals() |
|
253 | |||
254 | /** |
||
255 | * Set the totals property |
||
256 | * |
||
257 | * @param array $totals |
||
258 | * @return $this |
||
259 | */ |
||
260 | 3 | public function setTotals($totals) |
|
265 | } |
||
266 |