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