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\ChromeManagement;
|
---|
19 |
|
---|
20 | class GoogleChromeManagementV1ChromeAppInfo extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'siteAccess';
|
---|
23 | /**
|
---|
24 | * @var bool
|
---|
25 | */
|
---|
26 | public $googleOwned;
|
---|
27 | /**
|
---|
28 | * @var bool
|
---|
29 | */
|
---|
30 | public $isCwsHosted;
|
---|
31 | /**
|
---|
32 | * @var bool
|
---|
33 | */
|
---|
34 | public $isExtensionPolicySupported;
|
---|
35 | /**
|
---|
36 | * @var bool
|
---|
37 | */
|
---|
38 | public $isKioskOnly;
|
---|
39 | /**
|
---|
40 | * @var bool
|
---|
41 | */
|
---|
42 | public $isTheme;
|
---|
43 | /**
|
---|
44 | * @var bool
|
---|
45 | */
|
---|
46 | public $kioskEnabled;
|
---|
47 | /**
|
---|
48 | * @var int
|
---|
49 | */
|
---|
50 | public $minUserCount;
|
---|
51 | protected $permissionsType = GoogleChromeManagementV1ChromeAppPermission::class;
|
---|
52 | protected $permissionsDataType = 'array';
|
---|
53 | protected $siteAccessType = GoogleChromeManagementV1ChromeAppSiteAccess::class;
|
---|
54 | protected $siteAccessDataType = 'array';
|
---|
55 | /**
|
---|
56 | * @var bool
|
---|
57 | */
|
---|
58 | public $supportEnabled;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $type;
|
---|
63 |
|
---|
64 | /**
|
---|
65 | * @param bool
|
---|
66 | */
|
---|
67 | public function setGoogleOwned($googleOwned)
|
---|
68 | {
|
---|
69 | $this->googleOwned = $googleOwned;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @return bool
|
---|
73 | */
|
---|
74 | public function getGoogleOwned()
|
---|
75 | {
|
---|
76 | return $this->googleOwned;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @param bool
|
---|
80 | */
|
---|
81 | public function setIsCwsHosted($isCwsHosted)
|
---|
82 | {
|
---|
83 | $this->isCwsHosted = $isCwsHosted;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @return bool
|
---|
87 | */
|
---|
88 | public function getIsCwsHosted()
|
---|
89 | {
|
---|
90 | return $this->isCwsHosted;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @param bool
|
---|
94 | */
|
---|
95 | public function setIsExtensionPolicySupported($isExtensionPolicySupported)
|
---|
96 | {
|
---|
97 | $this->isExtensionPolicySupported = $isExtensionPolicySupported;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @return bool
|
---|
101 | */
|
---|
102 | public function getIsExtensionPolicySupported()
|
---|
103 | {
|
---|
104 | return $this->isExtensionPolicySupported;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @param bool
|
---|
108 | */
|
---|
109 | public function setIsKioskOnly($isKioskOnly)
|
---|
110 | {
|
---|
111 | $this->isKioskOnly = $isKioskOnly;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @return bool
|
---|
115 | */
|
---|
116 | public function getIsKioskOnly()
|
---|
117 | {
|
---|
118 | return $this->isKioskOnly;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @param bool
|
---|
122 | */
|
---|
123 | public function setIsTheme($isTheme)
|
---|
124 | {
|
---|
125 | $this->isTheme = $isTheme;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return bool
|
---|
129 | */
|
---|
130 | public function getIsTheme()
|
---|
131 | {
|
---|
132 | return $this->isTheme;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param bool
|
---|
136 | */
|
---|
137 | public function setKioskEnabled($kioskEnabled)
|
---|
138 | {
|
---|
139 | $this->kioskEnabled = $kioskEnabled;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return bool
|
---|
143 | */
|
---|
144 | public function getKioskEnabled()
|
---|
145 | {
|
---|
146 | return $this->kioskEnabled;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param int
|
---|
150 | */
|
---|
151 | public function setMinUserCount($minUserCount)
|
---|
152 | {
|
---|
153 | $this->minUserCount = $minUserCount;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return int
|
---|
157 | */
|
---|
158 | public function getMinUserCount()
|
---|
159 | {
|
---|
160 | return $this->minUserCount;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param GoogleChromeManagementV1ChromeAppPermission[]
|
---|
164 | */
|
---|
165 | public function setPermissions($permissions)
|
---|
166 | {
|
---|
167 | $this->permissions = $permissions;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return GoogleChromeManagementV1ChromeAppPermission[]
|
---|
171 | */
|
---|
172 | public function getPermissions()
|
---|
173 | {
|
---|
174 | return $this->permissions;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param GoogleChromeManagementV1ChromeAppSiteAccess[]
|
---|
178 | */
|
---|
179 | public function setSiteAccess($siteAccess)
|
---|
180 | {
|
---|
181 | $this->siteAccess = $siteAccess;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return GoogleChromeManagementV1ChromeAppSiteAccess[]
|
---|
185 | */
|
---|
186 | public function getSiteAccess()
|
---|
187 | {
|
---|
188 | return $this->siteAccess;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param bool
|
---|
192 | */
|
---|
193 | public function setSupportEnabled($supportEnabled)
|
---|
194 | {
|
---|
195 | $this->supportEnabled = $supportEnabled;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return bool
|
---|
199 | */
|
---|
200 | public function getSupportEnabled()
|
---|
201 | {
|
---|
202 | return $this->supportEnabled;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @param string
|
---|
206 | */
|
---|
207 | public function setType($type)
|
---|
208 | {
|
---|
209 | $this->type = $type;
|
---|
210 | }
|
---|
211 | /**
|
---|
212 | * @return string
|
---|
213 | */
|
---|
214 | public function getType()
|
---|
215 | {
|
---|
216 | return $this->type;
|
---|
217 | }
|
---|
218 | }
|
---|
219 |
|
---|
220 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
221 | class_alias(GoogleChromeManagementV1ChromeAppInfo::class, 'Google_Service_ChromeManagement_GoogleChromeManagementV1ChromeAppInfo');
|
---|