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\ChromeManagement;
19
20class 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 $isKioskOnly;
35  /**
36   * @var bool
37   */
38  public $isTheme;
39  /**
40   * @var bool
41   */
42  public $kioskEnabled;
43  /**
44   * @var int
45   */
46  public $minUserCount;
47  protected $permissionsType = GoogleChromeManagementV1ChromeAppPermission::class;
48  protected $permissionsDataType = 'array';
49  protected $siteAccessType = GoogleChromeManagementV1ChromeAppSiteAccess::class;
50  protected $siteAccessDataType = 'array';
51  /**
52   * @var bool
53   */
54  public $supportEnabled;
55
56  /**
57   * @param bool
58   */
59  public function setGoogleOwned($googleOwned)
60  {
61    $this->googleOwned = $googleOwned;
62  }
63  /**
64   * @return bool
65   */
66  public function getGoogleOwned()
67  {
68    return $this->googleOwned;
69  }
70  /**
71   * @param bool
72   */
73  public function setIsCwsHosted($isCwsHosted)
74  {
75    $this->isCwsHosted = $isCwsHosted;
76  }
77  /**
78   * @return bool
79   */
80  public function getIsCwsHosted()
81  {
82    return $this->isCwsHosted;
83  }
84  /**
85   * @param bool
86   */
87  public function setIsKioskOnly($isKioskOnly)
88  {
89    $this->isKioskOnly = $isKioskOnly;
90  }
91  /**
92   * @return bool
93   */
94  public function getIsKioskOnly()
95  {
96    return $this->isKioskOnly;
97  }
98  /**
99   * @param bool
100   */
101  public function setIsTheme($isTheme)
102  {
103    $this->isTheme = $isTheme;
104  }
105  /**
106   * @return bool
107   */
108  public function getIsTheme()
109  {
110    return $this->isTheme;
111  }
112  /**
113   * @param bool
114   */
115  public function setKioskEnabled($kioskEnabled)
116  {
117    $this->kioskEnabled = $kioskEnabled;
118  }
119  /**
120   * @return bool
121   */
122  public function getKioskEnabled()
123  {
124    return $this->kioskEnabled;
125  }
126  /**
127   * @param int
128   */
129  public function setMinUserCount($minUserCount)
130  {
131    $this->minUserCount = $minUserCount;
132  }
133  /**
134   * @return int
135   */
136  public function getMinUserCount()
137  {
138    return $this->minUserCount;
139  }
140  /**
141   * @param GoogleChromeManagementV1ChromeAppPermission[]
142   */
143  public function setPermissions($permissions)
144  {
145    $this->permissions = $permissions;
146  }
147  /**
148   * @return GoogleChromeManagementV1ChromeAppPermission[]
149   */
150  public function getPermissions()
151  {
152    return $this->permissions;
153  }
154  /**
155   * @param GoogleChromeManagementV1ChromeAppSiteAccess[]
156   */
157  public function setSiteAccess($siteAccess)
158  {
159    $this->siteAccess = $siteAccess;
160  }
161  /**
162   * @return GoogleChromeManagementV1ChromeAppSiteAccess[]
163   */
164  public function getSiteAccess()
165  {
166    return $this->siteAccess;
167  }
168  /**
169   * @param bool
170   */
171  public function setSupportEnabled($supportEnabled)
172  {
173    $this->supportEnabled = $supportEnabled;
174  }
175  /**
176   * @return bool
177   */
178  public function getSupportEnabled()
179  {
180    return $this->supportEnabled;
181  }
182}
183
184// Adding a class alias for backwards compatibility with the previous class name.
185class_alias(GoogleChromeManagementV1ChromeAppInfo::class, 'Google_Service_ChromeManagement_GoogleChromeManagementV1ChromeAppInfo');
186