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 |
|
---|
18 | namespace Google\Service\Testing;
|
---|
19 |
|
---|
20 | class AndroidModel extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'tags';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $brand;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $codename;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $form;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $formFactor;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $id;
|
---|
43 | protected $labInfoType = LabInfo::class;
|
---|
44 | protected $labInfoDataType = '';
|
---|
45 | /**
|
---|
46 | * @var bool
|
---|
47 | */
|
---|
48 | public $lowFpsVideoRecording;
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $manufacturer;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $name;
|
---|
57 | protected $perVersionInfoType = PerAndroidVersionInfo::class;
|
---|
58 | protected $perVersionInfoDataType = 'array';
|
---|
59 | /**
|
---|
60 | * @var int
|
---|
61 | */
|
---|
62 | public $screenDensity;
|
---|
63 | /**
|
---|
64 | * @var int
|
---|
65 | */
|
---|
66 | public $screenX;
|
---|
67 | /**
|
---|
68 | * @var int
|
---|
69 | */
|
---|
70 | public $screenY;
|
---|
71 | /**
|
---|
72 | * @var string[]
|
---|
73 | */
|
---|
74 | public $supportedAbis;
|
---|
75 | /**
|
---|
76 | * @var string[]
|
---|
77 | */
|
---|
78 | public $supportedVersionIds;
|
---|
79 | /**
|
---|
80 | * @var string[]
|
---|
81 | */
|
---|
82 | public $tags;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $thumbnailUrl;
|
---|
87 |
|
---|
88 | /**
|
---|
89 | * @param string
|
---|
90 | */
|
---|
91 | public function setBrand($brand)
|
---|
92 | {
|
---|
93 | $this->brand = $brand;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @return string
|
---|
97 | */
|
---|
98 | public function getBrand()
|
---|
99 | {
|
---|
100 | return $this->brand;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @param string
|
---|
104 | */
|
---|
105 | public function setCodename($codename)
|
---|
106 | {
|
---|
107 | $this->codename = $codename;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @return string
|
---|
111 | */
|
---|
112 | public function getCodename()
|
---|
113 | {
|
---|
114 | return $this->codename;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @param string
|
---|
118 | */
|
---|
119 | public function setForm($form)
|
---|
120 | {
|
---|
121 | $this->form = $form;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @return string
|
---|
125 | */
|
---|
126 | public function getForm()
|
---|
127 | {
|
---|
128 | return $this->form;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @param string
|
---|
132 | */
|
---|
133 | public function setFormFactor($formFactor)
|
---|
134 | {
|
---|
135 | $this->formFactor = $formFactor;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @return string
|
---|
139 | */
|
---|
140 | public function getFormFactor()
|
---|
141 | {
|
---|
142 | return $this->formFactor;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @param string
|
---|
146 | */
|
---|
147 | public function setId($id)
|
---|
148 | {
|
---|
149 | $this->id = $id;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @return string
|
---|
153 | */
|
---|
154 | public function getId()
|
---|
155 | {
|
---|
156 | return $this->id;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @param LabInfo
|
---|
160 | */
|
---|
161 | public function setLabInfo(LabInfo $labInfo)
|
---|
162 | {
|
---|
163 | $this->labInfo = $labInfo;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @return LabInfo
|
---|
167 | */
|
---|
168 | public function getLabInfo()
|
---|
169 | {
|
---|
170 | return $this->labInfo;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @param bool
|
---|
174 | */
|
---|
175 | public function setLowFpsVideoRecording($lowFpsVideoRecording)
|
---|
176 | {
|
---|
177 | $this->lowFpsVideoRecording = $lowFpsVideoRecording;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @return bool
|
---|
181 | */
|
---|
182 | public function getLowFpsVideoRecording()
|
---|
183 | {
|
---|
184 | return $this->lowFpsVideoRecording;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @param string
|
---|
188 | */
|
---|
189 | public function setManufacturer($manufacturer)
|
---|
190 | {
|
---|
191 | $this->manufacturer = $manufacturer;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @return string
|
---|
195 | */
|
---|
196 | public function getManufacturer()
|
---|
197 | {
|
---|
198 | return $this->manufacturer;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @param string
|
---|
202 | */
|
---|
203 | public function setName($name)
|
---|
204 | {
|
---|
205 | $this->name = $name;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @return string
|
---|
209 | */
|
---|
210 | public function getName()
|
---|
211 | {
|
---|
212 | return $this->name;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @param PerAndroidVersionInfo[]
|
---|
216 | */
|
---|
217 | public function setPerVersionInfo($perVersionInfo)
|
---|
218 | {
|
---|
219 | $this->perVersionInfo = $perVersionInfo;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @return PerAndroidVersionInfo[]
|
---|
223 | */
|
---|
224 | public function getPerVersionInfo()
|
---|
225 | {
|
---|
226 | return $this->perVersionInfo;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @param int
|
---|
230 | */
|
---|
231 | public function setScreenDensity($screenDensity)
|
---|
232 | {
|
---|
233 | $this->screenDensity = $screenDensity;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @return int
|
---|
237 | */
|
---|
238 | public function getScreenDensity()
|
---|
239 | {
|
---|
240 | return $this->screenDensity;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @param int
|
---|
244 | */
|
---|
245 | public function setScreenX($screenX)
|
---|
246 | {
|
---|
247 | $this->screenX = $screenX;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @return int
|
---|
251 | */
|
---|
252 | public function getScreenX()
|
---|
253 | {
|
---|
254 | return $this->screenX;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @param int
|
---|
258 | */
|
---|
259 | public function setScreenY($screenY)
|
---|
260 | {
|
---|
261 | $this->screenY = $screenY;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @return int
|
---|
265 | */
|
---|
266 | public function getScreenY()
|
---|
267 | {
|
---|
268 | return $this->screenY;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @param string[]
|
---|
272 | */
|
---|
273 | public function setSupportedAbis($supportedAbis)
|
---|
274 | {
|
---|
275 | $this->supportedAbis = $supportedAbis;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @return string[]
|
---|
279 | */
|
---|
280 | public function getSupportedAbis()
|
---|
281 | {
|
---|
282 | return $this->supportedAbis;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @param string[]
|
---|
286 | */
|
---|
287 | public function setSupportedVersionIds($supportedVersionIds)
|
---|
288 | {
|
---|
289 | $this->supportedVersionIds = $supportedVersionIds;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @return string[]
|
---|
293 | */
|
---|
294 | public function getSupportedVersionIds()
|
---|
295 | {
|
---|
296 | return $this->supportedVersionIds;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @param string[]
|
---|
300 | */
|
---|
301 | public function setTags($tags)
|
---|
302 | {
|
---|
303 | $this->tags = $tags;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @return string[]
|
---|
307 | */
|
---|
308 | public function getTags()
|
---|
309 | {
|
---|
310 | return $this->tags;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @param string
|
---|
314 | */
|
---|
315 | public function setThumbnailUrl($thumbnailUrl)
|
---|
316 | {
|
---|
317 | $this->thumbnailUrl = $thumbnailUrl;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @return string
|
---|
321 | */
|
---|
322 | public function getThumbnailUrl()
|
---|
323 | {
|
---|
324 | return $this->thumbnailUrl;
|
---|
325 | }
|
---|
326 | }
|
---|
327 |
|
---|
328 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
329 | class_alias(AndroidModel::class, 'Google_Service_Testing_AndroidModel');
|
---|