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\AndroidPublisher;
|
---|
19 |
|
---|
20 | class DeviceSelector extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'systemOnChips';
|
---|
23 | protected $deviceRamType = DeviceRam::class;
|
---|
24 | protected $deviceRamDataType = '';
|
---|
25 | protected $excludedDeviceIdsType = DeviceId::class;
|
---|
26 | protected $excludedDeviceIdsDataType = 'array';
|
---|
27 | protected $forbiddenSystemFeaturesType = SystemFeature::class;
|
---|
28 | protected $forbiddenSystemFeaturesDataType = 'array';
|
---|
29 | protected $includedDeviceIdsType = DeviceId::class;
|
---|
30 | protected $includedDeviceIdsDataType = 'array';
|
---|
31 | protected $requiredSystemFeaturesType = SystemFeature::class;
|
---|
32 | protected $requiredSystemFeaturesDataType = 'array';
|
---|
33 | protected $systemOnChipsType = SystemOnChip::class;
|
---|
34 | protected $systemOnChipsDataType = 'array';
|
---|
35 |
|
---|
36 | /**
|
---|
37 | * @param DeviceRam
|
---|
38 | */
|
---|
39 | public function setDeviceRam(DeviceRam $deviceRam)
|
---|
40 | {
|
---|
41 | $this->deviceRam = $deviceRam;
|
---|
42 | }
|
---|
43 | /**
|
---|
44 | * @return DeviceRam
|
---|
45 | */
|
---|
46 | public function getDeviceRam()
|
---|
47 | {
|
---|
48 | return $this->deviceRam;
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * @param DeviceId[]
|
---|
52 | */
|
---|
53 | public function setExcludedDeviceIds($excludedDeviceIds)
|
---|
54 | {
|
---|
55 | $this->excludedDeviceIds = $excludedDeviceIds;
|
---|
56 | }
|
---|
57 | /**
|
---|
58 | * @return DeviceId[]
|
---|
59 | */
|
---|
60 | public function getExcludedDeviceIds()
|
---|
61 | {
|
---|
62 | return $this->excludedDeviceIds;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @param SystemFeature[]
|
---|
66 | */
|
---|
67 | public function setForbiddenSystemFeatures($forbiddenSystemFeatures)
|
---|
68 | {
|
---|
69 | $this->forbiddenSystemFeatures = $forbiddenSystemFeatures;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return SystemFeature[]
|
---|
73 | */
|
---|
74 | public function getForbiddenSystemFeatures()
|
---|
75 | {
|
---|
76 | return $this->forbiddenSystemFeatures;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param DeviceId[]
|
---|
80 | */
|
---|
81 | public function setIncludedDeviceIds($includedDeviceIds)
|
---|
82 | {
|
---|
83 | $this->includedDeviceIds = $includedDeviceIds;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return DeviceId[]
|
---|
87 | */
|
---|
88 | public function getIncludedDeviceIds()
|
---|
89 | {
|
---|
90 | return $this->includedDeviceIds;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param SystemFeature[]
|
---|
94 | */
|
---|
95 | public function setRequiredSystemFeatures($requiredSystemFeatures)
|
---|
96 | {
|
---|
97 | $this->requiredSystemFeatures = $requiredSystemFeatures;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return SystemFeature[]
|
---|
101 | */
|
---|
102 | public function getRequiredSystemFeatures()
|
---|
103 | {
|
---|
104 | return $this->requiredSystemFeatures;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @param SystemOnChip[]
|
---|
108 | */
|
---|
109 | public function setSystemOnChips($systemOnChips)
|
---|
110 | {
|
---|
111 | $this->systemOnChips = $systemOnChips;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @return SystemOnChip[]
|
---|
115 | */
|
---|
116 | public function getSystemOnChips()
|
---|
117 | {
|
---|
118 | return $this->systemOnChips;
|
---|
119 | }
|
---|
120 | }
|
---|
121 |
|
---|
122 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
123 | class_alias(DeviceSelector::class, 'Google_Service_AndroidPublisher_DeviceSelector');
|
---|