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
18namespace Google\Service\AndroidPublisher;
19
20class DeviceSelector extends \Google\Collection
21{
22  protected $collection_key = 'requiredSystemFeatures';
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
34  /**
35   * @param DeviceRam
36   */
37  public function setDeviceRam(DeviceRam $deviceRam)
38  {
39    $this->deviceRam = $deviceRam;
40  }
41  /**
42   * @return DeviceRam
43   */
44  public function getDeviceRam()
45  {
46    return $this->deviceRam;
47  }
48  /**
49   * @param DeviceId[]
50   */
51  public function setExcludedDeviceIds($excludedDeviceIds)
52  {
53    $this->excludedDeviceIds = $excludedDeviceIds;
54  }
55  /**
56   * @return DeviceId[]
57   */
58  public function getExcludedDeviceIds()
59  {
60    return $this->excludedDeviceIds;
61  }
62  /**
63   * @param SystemFeature[]
64   */
65  public function setForbiddenSystemFeatures($forbiddenSystemFeatures)
66  {
67    $this->forbiddenSystemFeatures = $forbiddenSystemFeatures;
68  }
69  /**
70   * @return SystemFeature[]
71   */
72  public function getForbiddenSystemFeatures()
73  {
74    return $this->forbiddenSystemFeatures;
75  }
76  /**
77   * @param DeviceId[]
78   */
79  public function setIncludedDeviceIds($includedDeviceIds)
80  {
81    $this->includedDeviceIds = $includedDeviceIds;
82  }
83  /**
84   * @return DeviceId[]
85   */
86  public function getIncludedDeviceIds()
87  {
88    return $this->includedDeviceIds;
89  }
90  /**
91   * @param SystemFeature[]
92   */
93  public function setRequiredSystemFeatures($requiredSystemFeatures)
94  {
95    $this->requiredSystemFeatures = $requiredSystemFeatures;
96  }
97  /**
98   * @return SystemFeature[]
99   */
100  public function getRequiredSystemFeatures()
101  {
102    return $this->requiredSystemFeatures;
103  }
104}
105
106// Adding a class alias for backwards compatibility with the previous class name.
107class_alias(DeviceSelector::class, 'Google_Service_AndroidPublisher_DeviceSelector');
108