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\AndroidManagement;
19
20class Enterprise extends \Google\Collection
21{
22  protected $collection_key = 'termsAndConditions';
23  /**
24   * @var bool
25   */
26  public $appAutoApprovalEnabled;
27  protected $contactInfoType = ContactInfo::class;
28  protected $contactInfoDataType = '';
29  /**
30   * @var string[]
31   */
32  public $enabledNotificationTypes;
33  /**
34   * @var string
35   */
36  public $enterpriseDisplayName;
37  protected $logoType = ExternalData::class;
38  protected $logoDataType = '';
39  /**
40   * @var string
41   */
42  public $name;
43  /**
44   * @var int
45   */
46  public $primaryColor;
47  /**
48   * @var string
49   */
50  public $pubsubTopic;
51  protected $signinDetailsType = SigninDetail::class;
52  protected $signinDetailsDataType = 'array';
53  protected $termsAndConditionsType = TermsAndConditions::class;
54  protected $termsAndConditionsDataType = 'array';
55
56  /**
57   * @param bool
58   */
59  public function setAppAutoApprovalEnabled($appAutoApprovalEnabled)
60  {
61    $this->appAutoApprovalEnabled = $appAutoApprovalEnabled;
62  }
63  /**
64   * @return bool
65   */
66  public function getAppAutoApprovalEnabled()
67  {
68    return $this->appAutoApprovalEnabled;
69  }
70  /**
71   * @param ContactInfo
72   */
73  public function setContactInfo(ContactInfo $contactInfo)
74  {
75    $this->contactInfo = $contactInfo;
76  }
77  /**
78   * @return ContactInfo
79   */
80  public function getContactInfo()
81  {
82    return $this->contactInfo;
83  }
84  /**
85   * @param string[]
86   */
87  public function setEnabledNotificationTypes($enabledNotificationTypes)
88  {
89    $this->enabledNotificationTypes = $enabledNotificationTypes;
90  }
91  /**
92   * @return string[]
93   */
94  public function getEnabledNotificationTypes()
95  {
96    return $this->enabledNotificationTypes;
97  }
98  /**
99   * @param string
100   */
101  public function setEnterpriseDisplayName($enterpriseDisplayName)
102  {
103    $this->enterpriseDisplayName = $enterpriseDisplayName;
104  }
105  /**
106   * @return string
107   */
108  public function getEnterpriseDisplayName()
109  {
110    return $this->enterpriseDisplayName;
111  }
112  /**
113   * @param ExternalData
114   */
115  public function setLogo(ExternalData $logo)
116  {
117    $this->logo = $logo;
118  }
119  /**
120   * @return ExternalData
121   */
122  public function getLogo()
123  {
124    return $this->logo;
125  }
126  /**
127   * @param string
128   */
129  public function setName($name)
130  {
131    $this->name = $name;
132  }
133  /**
134   * @return string
135   */
136  public function getName()
137  {
138    return $this->name;
139  }
140  /**
141   * @param int
142   */
143  public function setPrimaryColor($primaryColor)
144  {
145    $this->primaryColor = $primaryColor;
146  }
147  /**
148   * @return int
149   */
150  public function getPrimaryColor()
151  {
152    return $this->primaryColor;
153  }
154  /**
155   * @param string
156   */
157  public function setPubsubTopic($pubsubTopic)
158  {
159    $this->pubsubTopic = $pubsubTopic;
160  }
161  /**
162   * @return string
163   */
164  public function getPubsubTopic()
165  {
166    return $this->pubsubTopic;
167  }
168  /**
169   * @param SigninDetail[]
170   */
171  public function setSigninDetails($signinDetails)
172  {
173    $this->signinDetails = $signinDetails;
174  }
175  /**
176   * @return SigninDetail[]
177   */
178  public function getSigninDetails()
179  {
180    return $this->signinDetails;
181  }
182  /**
183   * @param TermsAndConditions[]
184   */
185  public function setTermsAndConditions($termsAndConditions)
186  {
187    $this->termsAndConditions = $termsAndConditions;
188  }
189  /**
190   * @return TermsAndConditions[]
191   */
192  public function getTermsAndConditions()
193  {
194    return $this->termsAndConditions;
195  }
196}
197
198// Adding a class alias for backwards compatibility with the previous class name.
199class_alias(Enterprise::class, 'Google_Service_AndroidManagement_Enterprise');
200