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\Drive;
19
20class About extends \Google\Collection
21{
22  protected $collection_key = 'teamDriveThemes';
23  /**
24   * @var bool
25   */
26  public $appInstalled;
27  /**
28   * @var bool
29   */
30  public $canCreateDrives;
31  /**
32   * @var bool
33   */
34  public $canCreateTeamDrives;
35  protected $driveThemesType = AboutDriveThemes::class;
36  protected $driveThemesDataType = 'array';
37  /**
38   * @var string[]
39   */
40  public $exportFormats;
41  /**
42   * @var string[]
43   */
44  public $folderColorPalette;
45  /**
46   * @var string[]
47   */
48  public $importFormats;
49  /**
50   * @var string
51   */
52  public $kind;
53  /**
54   * @var string[]
55   */
56  public $maxImportSizes;
57  /**
58   * @var string
59   */
60  public $maxUploadSize;
61  protected $storageQuotaType = AboutStorageQuota::class;
62  protected $storageQuotaDataType = '';
63  protected $teamDriveThemesType = AboutTeamDriveThemes::class;
64  protected $teamDriveThemesDataType = 'array';
65  protected $userType = User::class;
66  protected $userDataType = '';
67
68  /**
69   * @param bool
70   */
71  public function setAppInstalled($appInstalled)
72  {
73    $this->appInstalled = $appInstalled;
74  }
75  /**
76   * @return bool
77   */
78  public function getAppInstalled()
79  {
80    return $this->appInstalled;
81  }
82  /**
83   * @param bool
84   */
85  public function setCanCreateDrives($canCreateDrives)
86  {
87    $this->canCreateDrives = $canCreateDrives;
88  }
89  /**
90   * @return bool
91   */
92  public function getCanCreateDrives()
93  {
94    return $this->canCreateDrives;
95  }
96  /**
97   * @param bool
98   */
99  public function setCanCreateTeamDrives($canCreateTeamDrives)
100  {
101    $this->canCreateTeamDrives = $canCreateTeamDrives;
102  }
103  /**
104   * @return bool
105   */
106  public function getCanCreateTeamDrives()
107  {
108    return $this->canCreateTeamDrives;
109  }
110  /**
111   * @param AboutDriveThemes[]
112   */
113  public function setDriveThemes($driveThemes)
114  {
115    $this->driveThemes = $driveThemes;
116  }
117  /**
118   * @return AboutDriveThemes[]
119   */
120  public function getDriveThemes()
121  {
122    return $this->driveThemes;
123  }
124  /**
125   * @param string[]
126   */
127  public function setExportFormats($exportFormats)
128  {
129    $this->exportFormats = $exportFormats;
130  }
131  /**
132   * @return string[]
133   */
134  public function getExportFormats()
135  {
136    return $this->exportFormats;
137  }
138  /**
139   * @param string[]
140   */
141  public function setFolderColorPalette($folderColorPalette)
142  {
143    $this->folderColorPalette = $folderColorPalette;
144  }
145  /**
146   * @return string[]
147   */
148  public function getFolderColorPalette()
149  {
150    return $this->folderColorPalette;
151  }
152  /**
153   * @param string[]
154   */
155  public function setImportFormats($importFormats)
156  {
157    $this->importFormats = $importFormats;
158  }
159  /**
160   * @return string[]
161   */
162  public function getImportFormats()
163  {
164    return $this->importFormats;
165  }
166  /**
167   * @param string
168   */
169  public function setKind($kind)
170  {
171    $this->kind = $kind;
172  }
173  /**
174   * @return string
175   */
176  public function getKind()
177  {
178    return $this->kind;
179  }
180  /**
181   * @param string[]
182   */
183  public function setMaxImportSizes($maxImportSizes)
184  {
185    $this->maxImportSizes = $maxImportSizes;
186  }
187  /**
188   * @return string[]
189   */
190  public function getMaxImportSizes()
191  {
192    return $this->maxImportSizes;
193  }
194  /**
195   * @param string
196   */
197  public function setMaxUploadSize($maxUploadSize)
198  {
199    $this->maxUploadSize = $maxUploadSize;
200  }
201  /**
202   * @return string
203   */
204  public function getMaxUploadSize()
205  {
206    return $this->maxUploadSize;
207  }
208  /**
209   * @param AboutStorageQuota
210   */
211  public function setStorageQuota(AboutStorageQuota $storageQuota)
212  {
213    $this->storageQuota = $storageQuota;
214  }
215  /**
216   * @return AboutStorageQuota
217   */
218  public function getStorageQuota()
219  {
220    return $this->storageQuota;
221  }
222  /**
223   * @param AboutTeamDriveThemes[]
224   */
225  public function setTeamDriveThemes($teamDriveThemes)
226  {
227    $this->teamDriveThemes = $teamDriveThemes;
228  }
229  /**
230   * @return AboutTeamDriveThemes[]
231   */
232  public function getTeamDriveThemes()
233  {
234    return $this->teamDriveThemes;
235  }
236  /**
237   * @param User
238   */
239  public function setUser(User $user)
240  {
241    $this->user = $user;
242  }
243  /**
244   * @return User
245   */
246  public function getUser()
247  {
248    return $this->user;
249  }
250}
251
252// Adding a class alias for backwards compatibility with the previous class name.
253class_alias(About::class, 'Google_Service_Drive_About');
254