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\AndroidEnterprise;
|
---|
19 |
|
---|
20 | class Product extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'screenshotUrls';
|
---|
23 | protected $appRestrictionsSchemaType = AppRestrictionsSchema::class;
|
---|
24 | protected $appRestrictionsSchemaDataType = '';
|
---|
25 | protected $appTracksType = TrackInfo::class;
|
---|
26 | protected $appTracksDataType = 'array';
|
---|
27 | protected $appVersionType = AppVersion::class;
|
---|
28 | protected $appVersionDataType = 'array';
|
---|
29 | /**
|
---|
30 | * @var string
|
---|
31 | */
|
---|
32 | public $authorName;
|
---|
33 | /**
|
---|
34 | * @var string[]
|
---|
35 | */
|
---|
36 | public $availableCountries;
|
---|
37 | /**
|
---|
38 | * @var string[]
|
---|
39 | */
|
---|
40 | public $availableTracks;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $category;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $contentRating;
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $description;
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $detailsUrl;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $distributionChannel;
|
---|
61 | /**
|
---|
62 | * @var string[]
|
---|
63 | */
|
---|
64 | public $features;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $fullDescription;
|
---|
69 | /**
|
---|
70 | * @var string
|
---|
71 | */
|
---|
72 | public $iconUrl;
|
---|
73 | /**
|
---|
74 | * @var string
|
---|
75 | */
|
---|
76 | public $lastUpdatedTimestampMillis;
|
---|
77 | /**
|
---|
78 | * @var int
|
---|
79 | */
|
---|
80 | public $minAndroidSdkVersion;
|
---|
81 | protected $permissionsType = ProductPermission::class;
|
---|
82 | protected $permissionsDataType = 'array';
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $productId;
|
---|
87 | /**
|
---|
88 | * @var string
|
---|
89 | */
|
---|
90 | public $productPricing;
|
---|
91 | /**
|
---|
92 | * @var string
|
---|
93 | */
|
---|
94 | public $recentChanges;
|
---|
95 | /**
|
---|
96 | * @var bool
|
---|
97 | */
|
---|
98 | public $requiresContainerApp;
|
---|
99 | /**
|
---|
100 | * @var string[]
|
---|
101 | */
|
---|
102 | public $screenshotUrls;
|
---|
103 | protected $signingCertificateType = ProductSigningCertificate::class;
|
---|
104 | protected $signingCertificateDataType = '';
|
---|
105 | /**
|
---|
106 | * @var string
|
---|
107 | */
|
---|
108 | public $smallIconUrl;
|
---|
109 | /**
|
---|
110 | * @var string
|
---|
111 | */
|
---|
112 | public $title;
|
---|
113 | /**
|
---|
114 | * @var string
|
---|
115 | */
|
---|
116 | public $workDetailsUrl;
|
---|
117 |
|
---|
118 | /**
|
---|
119 | * @param AppRestrictionsSchema
|
---|
120 | */
|
---|
121 | public function setAppRestrictionsSchema(AppRestrictionsSchema $appRestrictionsSchema)
|
---|
122 | {
|
---|
123 | $this->appRestrictionsSchema = $appRestrictionsSchema;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return AppRestrictionsSchema
|
---|
127 | */
|
---|
128 | public function getAppRestrictionsSchema()
|
---|
129 | {
|
---|
130 | return $this->appRestrictionsSchema;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param TrackInfo[]
|
---|
134 | */
|
---|
135 | public function setAppTracks($appTracks)
|
---|
136 | {
|
---|
137 | $this->appTracks = $appTracks;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return TrackInfo[]
|
---|
141 | */
|
---|
142 | public function getAppTracks()
|
---|
143 | {
|
---|
144 | return $this->appTracks;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param AppVersion[]
|
---|
148 | */
|
---|
149 | public function setAppVersion($appVersion)
|
---|
150 | {
|
---|
151 | $this->appVersion = $appVersion;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return AppVersion[]
|
---|
155 | */
|
---|
156 | public function getAppVersion()
|
---|
157 | {
|
---|
158 | return $this->appVersion;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param string
|
---|
162 | */
|
---|
163 | public function setAuthorName($authorName)
|
---|
164 | {
|
---|
165 | $this->authorName = $authorName;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return string
|
---|
169 | */
|
---|
170 | public function getAuthorName()
|
---|
171 | {
|
---|
172 | return $this->authorName;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param string[]
|
---|
176 | */
|
---|
177 | public function setAvailableCountries($availableCountries)
|
---|
178 | {
|
---|
179 | $this->availableCountries = $availableCountries;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return string[]
|
---|
183 | */
|
---|
184 | public function getAvailableCountries()
|
---|
185 | {
|
---|
186 | return $this->availableCountries;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param string[]
|
---|
190 | */
|
---|
191 | public function setAvailableTracks($availableTracks)
|
---|
192 | {
|
---|
193 | $this->availableTracks = $availableTracks;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return string[]
|
---|
197 | */
|
---|
198 | public function getAvailableTracks()
|
---|
199 | {
|
---|
200 | return $this->availableTracks;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param string
|
---|
204 | */
|
---|
205 | public function setCategory($category)
|
---|
206 | {
|
---|
207 | $this->category = $category;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string
|
---|
211 | */
|
---|
212 | public function getCategory()
|
---|
213 | {
|
---|
214 | return $this->category;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param string
|
---|
218 | */
|
---|
219 | public function setContentRating($contentRating)
|
---|
220 | {
|
---|
221 | $this->contentRating = $contentRating;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return string
|
---|
225 | */
|
---|
226 | public function getContentRating()
|
---|
227 | {
|
---|
228 | return $this->contentRating;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param string
|
---|
232 | */
|
---|
233 | public function setDescription($description)
|
---|
234 | {
|
---|
235 | $this->description = $description;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return string
|
---|
239 | */
|
---|
240 | public function getDescription()
|
---|
241 | {
|
---|
242 | return $this->description;
|
---|
243 | }
|
---|
244 | /**
|
---|
245 | * @param string
|
---|
246 | */
|
---|
247 | public function setDetailsUrl($detailsUrl)
|
---|
248 | {
|
---|
249 | $this->detailsUrl = $detailsUrl;
|
---|
250 | }
|
---|
251 | /**
|
---|
252 | * @return string
|
---|
253 | */
|
---|
254 | public function getDetailsUrl()
|
---|
255 | {
|
---|
256 | return $this->detailsUrl;
|
---|
257 | }
|
---|
258 | /**
|
---|
259 | * @param string
|
---|
260 | */
|
---|
261 | public function setDistributionChannel($distributionChannel)
|
---|
262 | {
|
---|
263 | $this->distributionChannel = $distributionChannel;
|
---|
264 | }
|
---|
265 | /**
|
---|
266 | * @return string
|
---|
267 | */
|
---|
268 | public function getDistributionChannel()
|
---|
269 | {
|
---|
270 | return $this->distributionChannel;
|
---|
271 | }
|
---|
272 | /**
|
---|
273 | * @param string[]
|
---|
274 | */
|
---|
275 | public function setFeatures($features)
|
---|
276 | {
|
---|
277 | $this->features = $features;
|
---|
278 | }
|
---|
279 | /**
|
---|
280 | * @return string[]
|
---|
281 | */
|
---|
282 | public function getFeatures()
|
---|
283 | {
|
---|
284 | return $this->features;
|
---|
285 | }
|
---|
286 | /**
|
---|
287 | * @param string
|
---|
288 | */
|
---|
289 | public function setFullDescription($fullDescription)
|
---|
290 | {
|
---|
291 | $this->fullDescription = $fullDescription;
|
---|
292 | }
|
---|
293 | /**
|
---|
294 | * @return string
|
---|
295 | */
|
---|
296 | public function getFullDescription()
|
---|
297 | {
|
---|
298 | return $this->fullDescription;
|
---|
299 | }
|
---|
300 | /**
|
---|
301 | * @param string
|
---|
302 | */
|
---|
303 | public function setIconUrl($iconUrl)
|
---|
304 | {
|
---|
305 | $this->iconUrl = $iconUrl;
|
---|
306 | }
|
---|
307 | /**
|
---|
308 | * @return string
|
---|
309 | */
|
---|
310 | public function getIconUrl()
|
---|
311 | {
|
---|
312 | return $this->iconUrl;
|
---|
313 | }
|
---|
314 | /**
|
---|
315 | * @param string
|
---|
316 | */
|
---|
317 | public function setLastUpdatedTimestampMillis($lastUpdatedTimestampMillis)
|
---|
318 | {
|
---|
319 | $this->lastUpdatedTimestampMillis = $lastUpdatedTimestampMillis;
|
---|
320 | }
|
---|
321 | /**
|
---|
322 | * @return string
|
---|
323 | */
|
---|
324 | public function getLastUpdatedTimestampMillis()
|
---|
325 | {
|
---|
326 | return $this->lastUpdatedTimestampMillis;
|
---|
327 | }
|
---|
328 | /**
|
---|
329 | * @param int
|
---|
330 | */
|
---|
331 | public function setMinAndroidSdkVersion($minAndroidSdkVersion)
|
---|
332 | {
|
---|
333 | $this->minAndroidSdkVersion = $minAndroidSdkVersion;
|
---|
334 | }
|
---|
335 | /**
|
---|
336 | * @return int
|
---|
337 | */
|
---|
338 | public function getMinAndroidSdkVersion()
|
---|
339 | {
|
---|
340 | return $this->minAndroidSdkVersion;
|
---|
341 | }
|
---|
342 | /**
|
---|
343 | * @param ProductPermission[]
|
---|
344 | */
|
---|
345 | public function setPermissions($permissions)
|
---|
346 | {
|
---|
347 | $this->permissions = $permissions;
|
---|
348 | }
|
---|
349 | /**
|
---|
350 | * @return ProductPermission[]
|
---|
351 | */
|
---|
352 | public function getPermissions()
|
---|
353 | {
|
---|
354 | return $this->permissions;
|
---|
355 | }
|
---|
356 | /**
|
---|
357 | * @param string
|
---|
358 | */
|
---|
359 | public function setProductId($productId)
|
---|
360 | {
|
---|
361 | $this->productId = $productId;
|
---|
362 | }
|
---|
363 | /**
|
---|
364 | * @return string
|
---|
365 | */
|
---|
366 | public function getProductId()
|
---|
367 | {
|
---|
368 | return $this->productId;
|
---|
369 | }
|
---|
370 | /**
|
---|
371 | * @param string
|
---|
372 | */
|
---|
373 | public function setProductPricing($productPricing)
|
---|
374 | {
|
---|
375 | $this->productPricing = $productPricing;
|
---|
376 | }
|
---|
377 | /**
|
---|
378 | * @return string
|
---|
379 | */
|
---|
380 | public function getProductPricing()
|
---|
381 | {
|
---|
382 | return $this->productPricing;
|
---|
383 | }
|
---|
384 | /**
|
---|
385 | * @param string
|
---|
386 | */
|
---|
387 | public function setRecentChanges($recentChanges)
|
---|
388 | {
|
---|
389 | $this->recentChanges = $recentChanges;
|
---|
390 | }
|
---|
391 | /**
|
---|
392 | * @return string
|
---|
393 | */
|
---|
394 | public function getRecentChanges()
|
---|
395 | {
|
---|
396 | return $this->recentChanges;
|
---|
397 | }
|
---|
398 | /**
|
---|
399 | * @param bool
|
---|
400 | */
|
---|
401 | public function setRequiresContainerApp($requiresContainerApp)
|
---|
402 | {
|
---|
403 | $this->requiresContainerApp = $requiresContainerApp;
|
---|
404 | }
|
---|
405 | /**
|
---|
406 | * @return bool
|
---|
407 | */
|
---|
408 | public function getRequiresContainerApp()
|
---|
409 | {
|
---|
410 | return $this->requiresContainerApp;
|
---|
411 | }
|
---|
412 | /**
|
---|
413 | * @param string[]
|
---|
414 | */
|
---|
415 | public function setScreenshotUrls($screenshotUrls)
|
---|
416 | {
|
---|
417 | $this->screenshotUrls = $screenshotUrls;
|
---|
418 | }
|
---|
419 | /**
|
---|
420 | * @return string[]
|
---|
421 | */
|
---|
422 | public function getScreenshotUrls()
|
---|
423 | {
|
---|
424 | return $this->screenshotUrls;
|
---|
425 | }
|
---|
426 | /**
|
---|
427 | * @param ProductSigningCertificate
|
---|
428 | */
|
---|
429 | public function setSigningCertificate(ProductSigningCertificate $signingCertificate)
|
---|
430 | {
|
---|
431 | $this->signingCertificate = $signingCertificate;
|
---|
432 | }
|
---|
433 | /**
|
---|
434 | * @return ProductSigningCertificate
|
---|
435 | */
|
---|
436 | public function getSigningCertificate()
|
---|
437 | {
|
---|
438 | return $this->signingCertificate;
|
---|
439 | }
|
---|
440 | /**
|
---|
441 | * @param string
|
---|
442 | */
|
---|
443 | public function setSmallIconUrl($smallIconUrl)
|
---|
444 | {
|
---|
445 | $this->smallIconUrl = $smallIconUrl;
|
---|
446 | }
|
---|
447 | /**
|
---|
448 | * @return string
|
---|
449 | */
|
---|
450 | public function getSmallIconUrl()
|
---|
451 | {
|
---|
452 | return $this->smallIconUrl;
|
---|
453 | }
|
---|
454 | /**
|
---|
455 | * @param string
|
---|
456 | */
|
---|
457 | public function setTitle($title)
|
---|
458 | {
|
---|
459 | $this->title = $title;
|
---|
460 | }
|
---|
461 | /**
|
---|
462 | * @return string
|
---|
463 | */
|
---|
464 | public function getTitle()
|
---|
465 | {
|
---|
466 | return $this->title;
|
---|
467 | }
|
---|
468 | /**
|
---|
469 | * @param string
|
---|
470 | */
|
---|
471 | public function setWorkDetailsUrl($workDetailsUrl)
|
---|
472 | {
|
---|
473 | $this->workDetailsUrl = $workDetailsUrl;
|
---|
474 | }
|
---|
475 | /**
|
---|
476 | * @return string
|
---|
477 | */
|
---|
478 | public function getWorkDetailsUrl()
|
---|
479 | {
|
---|
480 | return $this->workDetailsUrl;
|
---|
481 | }
|
---|
482 | }
|
---|
483 |
|
---|
484 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
485 | class_alias(Product::class, 'Google_Service_AndroidEnterprise_Product');
|
---|