1 | <?php |
||
10 | class Counter extends Model |
||
11 | { |
||
12 | |||
13 | protected $id = null; |
||
14 | |||
15 | protected $ownerLogin = null; |
||
16 | |||
17 | protected $codeStatus = null; |
||
18 | |||
19 | protected $name = null; |
||
20 | |||
21 | protected $site = null; |
||
22 | |||
23 | protected $type = null; |
||
24 | |||
25 | protected $favorite = null; |
||
26 | |||
27 | protected $permission = null; |
||
28 | |||
29 | protected $webvisor = null; |
||
30 | |||
31 | protected $codeOptions = null; |
||
32 | |||
33 | protected $partnerId = null; |
||
34 | |||
35 | protected $code = null; |
||
36 | |||
37 | protected $monitoring = null; |
||
38 | |||
39 | protected $filterRobots = null; |
||
40 | |||
41 | protected $timeZoneName = null; |
||
42 | |||
43 | protected $visitThreshold = null; |
||
44 | |||
45 | protected $maxGoals = null; |
||
46 | |||
47 | protected $maxDetailedGoals = null; |
||
48 | |||
49 | protected $maxRetargetingGoals = null; |
||
50 | |||
51 | protected $mappingClasses = [ |
||
52 | 'webvisor' => 'Yandex\Metrica\Management\Models\Webvisor', |
||
53 | 'codeOptions' => 'Yandex\Metrica\Management\Models\CodeOptions', |
||
54 | 'monitoring' => 'Yandex\Metrica\Management\Models\Monitoring' |
||
55 | ]; |
||
56 | |||
57 | protected $propNameMap = [ |
||
58 | 'owner_login' => 'ownerLogin', |
||
59 | 'code_status' => 'codeStatus', |
||
60 | 'code_options' => 'codeOptions', |
||
61 | 'partner_id' => 'partnerId', |
||
62 | 'filter_robots' => 'filterRobots', |
||
63 | 'time_zone_name' => 'timeZoneName', |
||
64 | 'visit_threshold' => 'visitThreshold', |
||
65 | 'max_goals' => 'maxGoals', |
||
66 | 'max_detailed_goals' => 'maxDetailedGoals', |
||
67 | 'max_retargeting_goals' => 'maxRetargetingGoals' |
||
68 | ]; |
||
69 | |||
70 | /** |
||
71 | * Retrieve the id property |
||
72 | * |
||
73 | * @return int|null |
||
74 | */ |
||
75 | 3 | public function getId() |
|
79 | |||
80 | /** |
||
81 | * Set the id property |
||
82 | * |
||
83 | * @param int $id |
||
84 | * @return $this |
||
85 | */ |
||
86 | 1 | public function setId($id) |
|
91 | |||
92 | /** |
||
93 | * Retrieve the ownerLogin property |
||
94 | * |
||
95 | * @return string|null |
||
96 | */ |
||
97 | 3 | public function getOwnerLogin() |
|
101 | |||
102 | /** |
||
103 | * Set the ownerLogin property |
||
104 | * |
||
105 | * @param string $ownerLogin |
||
106 | * @return $this |
||
107 | */ |
||
108 | 1 | public function setOwnerLogin($ownerLogin) |
|
113 | |||
114 | /** |
||
115 | * Retrieve the codeStatus property |
||
116 | * |
||
117 | * @return string|null |
||
118 | */ |
||
119 | 2 | public function getCodeStatus() |
|
123 | |||
124 | /** |
||
125 | * Set the codeStatus property |
||
126 | * |
||
127 | * @param string $codeStatus |
||
128 | * @return $this |
||
129 | */ |
||
130 | public function setCodeStatus($codeStatus) |
||
135 | |||
136 | /** |
||
137 | * Retrieve the name property |
||
138 | * |
||
139 | * @return string|null |
||
140 | */ |
||
141 | 3 | public function getName() |
|
145 | |||
146 | /** |
||
147 | * Set the name property |
||
148 | * |
||
149 | * @param string $name |
||
150 | * @return $this |
||
151 | */ |
||
152 | 1 | public function setName($name) |
|
157 | |||
158 | /** |
||
159 | * Retrieve the site property |
||
160 | * |
||
161 | * @return string|null |
||
162 | */ |
||
163 | 3 | public function getSite() |
|
167 | |||
168 | /** |
||
169 | * Set the site property |
||
170 | * |
||
171 | * @param string $site |
||
172 | * @return $this |
||
173 | */ |
||
174 | 1 | public function setSite($site) |
|
179 | |||
180 | /** |
||
181 | * Retrieve the type property |
||
182 | * |
||
183 | * @return string|null |
||
184 | */ |
||
185 | 3 | public function getType() |
|
189 | |||
190 | /** |
||
191 | * Set the type property |
||
192 | * |
||
193 | * @param string $type |
||
194 | * @return $this |
||
195 | */ |
||
196 | 1 | public function setType($type) |
|
201 | |||
202 | /** |
||
203 | * Retrieve the favorite property |
||
204 | * |
||
205 | * @return int|null |
||
206 | */ |
||
207 | 3 | public function getFavorite() |
|
211 | |||
212 | /** |
||
213 | * Set the favorite property |
||
214 | * |
||
215 | * @param int $favorite |
||
216 | * @return $this |
||
217 | */ |
||
218 | 1 | public function setFavorite($favorite) |
|
223 | |||
224 | /** |
||
225 | * Retrieve the permission property |
||
226 | * |
||
227 | * @return string|null |
||
228 | */ |
||
229 | 3 | public function getPermission() |
|
233 | |||
234 | /** |
||
235 | * Set the permission property |
||
236 | * |
||
237 | * @param string $permission |
||
238 | * @return $this |
||
239 | */ |
||
240 | 1 | public function setPermission($permission) |
|
245 | |||
246 | /** |
||
247 | * Retrieve the webvisor property |
||
248 | * |
||
249 | * @return Webvisor|null |
||
250 | */ |
||
251 | 2 | public function getWebvisor() |
|
255 | |||
256 | /** |
||
257 | * Set the webvisor property |
||
258 | * |
||
259 | * @param Webvisor $webvisor |
||
260 | * @return $this |
||
261 | */ |
||
262 | 1 | public function setWebvisor($webvisor) |
|
267 | |||
268 | /** |
||
269 | * Retrieve the codeOptions property |
||
270 | * |
||
271 | * @return CodeOptions|null |
||
272 | */ |
||
273 | 2 | public function getCodeOptions() |
|
277 | |||
278 | /** |
||
279 | * Set the codeOptions property |
||
280 | * |
||
281 | * @param CodeOptions $codeOptions |
||
282 | * @return $this |
||
283 | */ |
||
284 | 1 | public function setCodeOptions($codeOptions) |
|
289 | |||
290 | /** |
||
291 | * Retrieve the partnerId property |
||
292 | * |
||
293 | * @return int|null |
||
294 | */ |
||
295 | 2 | public function getPartnerId() |
|
299 | |||
300 | /** |
||
301 | * Set the partnerId property |
||
302 | * |
||
303 | * @param int $partnerId |
||
304 | * @return $this |
||
305 | */ |
||
306 | 1 | public function setPartnerId($partnerId) |
|
311 | |||
312 | /** |
||
313 | * Retrieve the code property |
||
314 | * |
||
315 | * @return string|null |
||
316 | */ |
||
317 | 1 | public function getCode() |
|
321 | |||
322 | /** |
||
323 | * Set the code property |
||
324 | * |
||
325 | * @param string $code |
||
326 | * @return $this |
||
327 | */ |
||
328 | public function setCode($code) |
||
333 | |||
334 | /** |
||
335 | * Retrieve the monitoring property |
||
336 | * |
||
337 | * @return Monitoring|null |
||
338 | */ |
||
339 | 2 | public function getMonitoring() |
|
343 | |||
344 | /** |
||
345 | * Set the monitoring property |
||
346 | * |
||
347 | * @param Monitoring $monitoring |
||
348 | * @return $this |
||
349 | */ |
||
350 | 1 | public function setMonitoring($monitoring) |
|
355 | |||
356 | /** |
||
357 | * Retrieve the filterRobots property |
||
358 | * |
||
359 | * @return int|null |
||
360 | */ |
||
361 | 2 | public function getFilterRobots() |
|
365 | |||
366 | /** |
||
367 | * Set the filterRobots property |
||
368 | * |
||
369 | * @param int $filterRobots |
||
370 | * @return $this |
||
371 | */ |
||
372 | 1 | public function setFilterRobots($filterRobots) |
|
377 | |||
378 | /** |
||
379 | * Retrieve the timeZoneName property |
||
380 | * |
||
381 | * @return string|null |
||
382 | */ |
||
383 | 2 | public function getTimeZoneName() |
|
387 | |||
388 | /** |
||
389 | * Set the timeZoneName property |
||
390 | * |
||
391 | * @param string $timeZoneName |
||
392 | * @return $this |
||
393 | */ |
||
394 | 1 | public function setTimeZoneName($timeZoneName) |
|
399 | |||
400 | /** |
||
401 | * Retrieve the visitThreshold property |
||
402 | * |
||
403 | * @return int|null |
||
404 | */ |
||
405 | 2 | public function getVisitThreshold() |
|
409 | |||
410 | /** |
||
411 | * Set the visitThreshold property |
||
412 | * |
||
413 | * @param int $visitThreshold |
||
414 | * @return $this |
||
415 | */ |
||
416 | 1 | public function setVisitThreshold($visitThreshold) |
|
421 | |||
422 | /** |
||
423 | * Retrieve the maxGoals property |
||
424 | * |
||
425 | * @return int|null |
||
426 | */ |
||
427 | 2 | public function getMaxGoals() |
|
431 | |||
432 | /** |
||
433 | * Set the maxGoals property |
||
434 | * |
||
435 | * @param int $maxGoals |
||
436 | * @return $this |
||
437 | */ |
||
438 | 1 | public function setMaxGoals($maxGoals) |
|
443 | |||
444 | /** |
||
445 | * Retrieve the maxDetailedGoals property |
||
446 | * |
||
447 | * @return int|null |
||
448 | */ |
||
449 | 2 | public function getMaxDetailedGoals() |
|
453 | |||
454 | /** |
||
455 | * Set the maxDetailedGoals property |
||
456 | * |
||
457 | * @param int $maxDetailedGoals |
||
458 | * @return $this |
||
459 | */ |
||
460 | 1 | public function setMaxDetailedGoals($maxDetailedGoals) |
|
465 | |||
466 | /** |
||
467 | * Retrieve the maxRetargetingGoals property |
||
468 | * |
||
469 | * @return int|null |
||
470 | */ |
||
471 | 2 | public function getMaxRetargetingGoals() |
|
475 | |||
476 | /** |
||
477 | * Set the maxRetargetingGoals property |
||
478 | * |
||
479 | * @param int $maxRetargetingGoals |
||
480 | * @return $this |
||
481 | */ |
||
482 | 1 | public function setMaxRetargetingGoals($maxRetargetingGoals) |
|
487 | } |
||
488 |