1 | <?php |
||
9 | class CounterItem extends Model |
||
10 | { |
||
11 | |||
12 | protected $id = null; |
||
13 | |||
14 | protected $ownerLogin = null; |
||
15 | |||
16 | protected $codeStatus = null; |
||
17 | |||
18 | protected $name = null; |
||
19 | |||
20 | protected $site = null; |
||
21 | |||
22 | protected $type = null; |
||
23 | |||
24 | protected $favorite = null; |
||
25 | |||
26 | protected $permission = null; |
||
27 | |||
28 | protected $webvisor = null; |
||
29 | |||
30 | protected $codeOptions = null; |
||
31 | |||
32 | protected $partnerId = null; |
||
33 | |||
34 | protected $mirrors = null; |
||
35 | |||
36 | protected $mappingClasses = [ |
||
37 | 'webvisor' => 'Yandex\Metrica\Management\Models\Webvisor', |
||
38 | 'codeOptions' => 'Yandex\Metrica\Management\Models\CodeOptions' |
||
39 | ]; |
||
40 | |||
41 | protected $propNameMap = [ |
||
42 | 'ownerLogin' => 'owner_login', |
||
43 | 'codeStatus' => 'code_status', |
||
44 | 'codeOptions' => 'code_options', |
||
45 | 'partnerId' => 'partner_id', |
||
46 | 'mirrors' => 'mirrors' |
||
47 | ]; |
||
48 | |||
49 | /** |
||
50 | * Retrieve the id property |
||
51 | * |
||
52 | * @return int|null |
||
53 | */ |
||
54 | 2 | public function getId() |
|
58 | |||
59 | /** |
||
60 | * Set the id property |
||
61 | * |
||
62 | * @param int $id |
||
63 | * @return $this |
||
64 | */ |
||
65 | 2 | public function setId($id) |
|
70 | |||
71 | /** |
||
72 | * Retrieve the ownerLogin property |
||
73 | * |
||
74 | * @return string|null |
||
75 | */ |
||
76 | 2 | public function getOwnerLogin() |
|
80 | |||
81 | /** |
||
82 | * Set the ownerLogin property |
||
83 | * |
||
84 | * @param string $ownerLogin |
||
85 | * @return $this |
||
86 | */ |
||
87 | 2 | public function setOwnerLogin($ownerLogin) |
|
92 | |||
93 | /** |
||
94 | * Retrieve the codeStatus property |
||
95 | * |
||
96 | * @return string|null |
||
97 | */ |
||
98 | 2 | public function getCodeStatus() |
|
102 | |||
103 | /** |
||
104 | * Set the codeStatus property |
||
105 | * |
||
106 | * @param string $codeStatus |
||
107 | * @return $this |
||
108 | */ |
||
109 | 2 | public function setCodeStatus($codeStatus) |
|
114 | |||
115 | /** |
||
116 | * Retrieve the name property |
||
117 | * |
||
118 | * @return string|null |
||
119 | */ |
||
120 | 2 | public function getName() |
|
124 | |||
125 | /** |
||
126 | * Set the name property |
||
127 | * |
||
128 | * @param string $name |
||
129 | * @return $this |
||
130 | */ |
||
131 | 2 | public function setName($name) |
|
136 | |||
137 | /** |
||
138 | * Retrieve the site property |
||
139 | * |
||
140 | * @return string|null |
||
141 | */ |
||
142 | 2 | public function getSite() |
|
146 | |||
147 | /** |
||
148 | * Set the site property |
||
149 | * |
||
150 | * @param string $site |
||
151 | * @return $this |
||
152 | */ |
||
153 | 2 | public function setSite($site) |
|
158 | |||
159 | /** |
||
160 | * Retrieve the type property |
||
161 | * |
||
162 | * @return string|null |
||
163 | */ |
||
164 | 2 | public function getType() |
|
168 | |||
169 | /** |
||
170 | * Set the type property |
||
171 | * |
||
172 | * @param string $type |
||
173 | * @return $this |
||
174 | */ |
||
175 | 2 | public function setType($type) |
|
180 | |||
181 | /** |
||
182 | * Retrieve the favorite property |
||
183 | * |
||
184 | * @return int|null |
||
185 | */ |
||
186 | 2 | public function getFavorite() |
|
190 | |||
191 | /** |
||
192 | * Set the favorite property |
||
193 | * |
||
194 | * @param int $favorite |
||
195 | * @return $this |
||
196 | */ |
||
197 | 2 | public function setFavorite($favorite) |
|
202 | |||
203 | /** |
||
204 | * Retrieve the permission property |
||
205 | * |
||
206 | * @return string|null |
||
207 | */ |
||
208 | 2 | public function getPermission() |
|
212 | |||
213 | /** |
||
214 | * Set the permission property |
||
215 | * |
||
216 | * @param string $permission |
||
217 | * @return $this |
||
218 | */ |
||
219 | 2 | public function setPermission($permission) |
|
224 | |||
225 | /** |
||
226 | * Retrieve the webvisor property |
||
227 | * |
||
228 | * @return Webvisor|null |
||
229 | */ |
||
230 | 2 | public function getWebvisor() |
|
234 | |||
235 | /** |
||
236 | * Set the webvisor property |
||
237 | * |
||
238 | * @param Webvisor $webvisor |
||
239 | * @return $this |
||
240 | */ |
||
241 | 2 | public function setWebvisor($webvisor) |
|
246 | |||
247 | /** |
||
248 | * Retrieve the codeOptions property |
||
249 | * |
||
250 | * @return CodeOptions|null |
||
251 | */ |
||
252 | 2 | public function getCodeOptions() |
|
256 | |||
257 | /** |
||
258 | * Set the codeOptions property |
||
259 | * |
||
260 | * @param CodeOptions $codeOptions |
||
261 | * @return $this |
||
262 | */ |
||
263 | 2 | public function setCodeOptions($codeOptions) |
|
268 | |||
269 | /** |
||
270 | * Retrieve the partnerId property |
||
271 | * |
||
272 | * @return int|null |
||
273 | */ |
||
274 | 2 | public function getPartnerId() |
|
278 | |||
279 | /** |
||
280 | * Set the partnerId property |
||
281 | * |
||
282 | * @param int $partnerId |
||
283 | * @return $this |
||
284 | */ |
||
285 | 2 | public function setPartnerId($partnerId) |
|
290 | |||
291 | /** |
||
292 | * Retrieve the mirrors property |
||
293 | * |
||
294 | * @return array|null |
||
295 | */ |
||
296 | public function getMirrors() |
||
300 | |||
301 | /** |
||
302 | * Set the mirrors property |
||
303 | * |
||
304 | * @param int $mirrors |
||
305 | * @return $this |
||
306 | */ |
||
307 | public function setMirrors($mirrors) |
||
312 | } |
||
313 |