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 TeamDriveCapabilities extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $canAddChildren;
26  /**
27   * @var bool
28   */
29  public $canChangeCopyRequiresWriterPermissionRestriction;
30  /**
31   * @var bool
32   */
33  public $canChangeDomainUsersOnlyRestriction;
34  /**
35   * @var bool
36   */
37  public $canChangeTeamDriveBackground;
38  /**
39   * @var bool
40   */
41  public $canChangeTeamMembersOnlyRestriction;
42  /**
43   * @var bool
44   */
45  public $canComment;
46  /**
47   * @var bool
48   */
49  public $canCopy;
50  /**
51   * @var bool
52   */
53  public $canDeleteChildren;
54  /**
55   * @var bool
56   */
57  public $canDeleteTeamDrive;
58  /**
59   * @var bool
60   */
61  public $canDownload;
62  /**
63   * @var bool
64   */
65  public $canEdit;
66  /**
67   * @var bool
68   */
69  public $canListChildren;
70  /**
71   * @var bool
72   */
73  public $canManageMembers;
74  /**
75   * @var bool
76   */
77  public $canReadRevisions;
78  /**
79   * @var bool
80   */
81  public $canRemoveChildren;
82  /**
83   * @var bool
84   */
85  public $canRename;
86  /**
87   * @var bool
88   */
89  public $canRenameTeamDrive;
90  /**
91   * @var bool
92   */
93  public $canShare;
94  /**
95   * @var bool
96   */
97  public $canTrashChildren;
98
99  /**
100   * @param bool
101   */
102  public function setCanAddChildren($canAddChildren)
103  {
104    $this->canAddChildren = $canAddChildren;
105  }
106  /**
107   * @return bool
108   */
109  public function getCanAddChildren()
110  {
111    return $this->canAddChildren;
112  }
113  /**
114   * @param bool
115   */
116  public function setCanChangeCopyRequiresWriterPermissionRestriction($canChangeCopyRequiresWriterPermissionRestriction)
117  {
118    $this->canChangeCopyRequiresWriterPermissionRestriction = $canChangeCopyRequiresWriterPermissionRestriction;
119  }
120  /**
121   * @return bool
122   */
123  public function getCanChangeCopyRequiresWriterPermissionRestriction()
124  {
125    return $this->canChangeCopyRequiresWriterPermissionRestriction;
126  }
127  /**
128   * @param bool
129   */
130  public function setCanChangeDomainUsersOnlyRestriction($canChangeDomainUsersOnlyRestriction)
131  {
132    $this->canChangeDomainUsersOnlyRestriction = $canChangeDomainUsersOnlyRestriction;
133  }
134  /**
135   * @return bool
136   */
137  public function getCanChangeDomainUsersOnlyRestriction()
138  {
139    return $this->canChangeDomainUsersOnlyRestriction;
140  }
141  /**
142   * @param bool
143   */
144  public function setCanChangeTeamDriveBackground($canChangeTeamDriveBackground)
145  {
146    $this->canChangeTeamDriveBackground = $canChangeTeamDriveBackground;
147  }
148  /**
149   * @return bool
150   */
151  public function getCanChangeTeamDriveBackground()
152  {
153    return $this->canChangeTeamDriveBackground;
154  }
155  /**
156   * @param bool
157   */
158  public function setCanChangeTeamMembersOnlyRestriction($canChangeTeamMembersOnlyRestriction)
159  {
160    $this->canChangeTeamMembersOnlyRestriction = $canChangeTeamMembersOnlyRestriction;
161  }
162  /**
163   * @return bool
164   */
165  public function getCanChangeTeamMembersOnlyRestriction()
166  {
167    return $this->canChangeTeamMembersOnlyRestriction;
168  }
169  /**
170   * @param bool
171   */
172  public function setCanComment($canComment)
173  {
174    $this->canComment = $canComment;
175  }
176  /**
177   * @return bool
178   */
179  public function getCanComment()
180  {
181    return $this->canComment;
182  }
183  /**
184   * @param bool
185   */
186  public function setCanCopy($canCopy)
187  {
188    $this->canCopy = $canCopy;
189  }
190  /**
191   * @return bool
192   */
193  public function getCanCopy()
194  {
195    return $this->canCopy;
196  }
197  /**
198   * @param bool
199   */
200  public function setCanDeleteChildren($canDeleteChildren)
201  {
202    $this->canDeleteChildren = $canDeleteChildren;
203  }
204  /**
205   * @return bool
206   */
207  public function getCanDeleteChildren()
208  {
209    return $this->canDeleteChildren;
210  }
211  /**
212   * @param bool
213   */
214  public function setCanDeleteTeamDrive($canDeleteTeamDrive)
215  {
216    $this->canDeleteTeamDrive = $canDeleteTeamDrive;
217  }
218  /**
219   * @return bool
220   */
221  public function getCanDeleteTeamDrive()
222  {
223    return $this->canDeleteTeamDrive;
224  }
225  /**
226   * @param bool
227   */
228  public function setCanDownload($canDownload)
229  {
230    $this->canDownload = $canDownload;
231  }
232  /**
233   * @return bool
234   */
235  public function getCanDownload()
236  {
237    return $this->canDownload;
238  }
239  /**
240   * @param bool
241   */
242  public function setCanEdit($canEdit)
243  {
244    $this->canEdit = $canEdit;
245  }
246  /**
247   * @return bool
248   */
249  public function getCanEdit()
250  {
251    return $this->canEdit;
252  }
253  /**
254   * @param bool
255   */
256  public function setCanListChildren($canListChildren)
257  {
258    $this->canListChildren = $canListChildren;
259  }
260  /**
261   * @return bool
262   */
263  public function getCanListChildren()
264  {
265    return $this->canListChildren;
266  }
267  /**
268   * @param bool
269   */
270  public function setCanManageMembers($canManageMembers)
271  {
272    $this->canManageMembers = $canManageMembers;
273  }
274  /**
275   * @return bool
276   */
277  public function getCanManageMembers()
278  {
279    return $this->canManageMembers;
280  }
281  /**
282   * @param bool
283   */
284  public function setCanReadRevisions($canReadRevisions)
285  {
286    $this->canReadRevisions = $canReadRevisions;
287  }
288  /**
289   * @return bool
290   */
291  public function getCanReadRevisions()
292  {
293    return $this->canReadRevisions;
294  }
295  /**
296   * @param bool
297   */
298  public function setCanRemoveChildren($canRemoveChildren)
299  {
300    $this->canRemoveChildren = $canRemoveChildren;
301  }
302  /**
303   * @return bool
304   */
305  public function getCanRemoveChildren()
306  {
307    return $this->canRemoveChildren;
308  }
309  /**
310   * @param bool
311   */
312  public function setCanRename($canRename)
313  {
314    $this->canRename = $canRename;
315  }
316  /**
317   * @return bool
318   */
319  public function getCanRename()
320  {
321    return $this->canRename;
322  }
323  /**
324   * @param bool
325   */
326  public function setCanRenameTeamDrive($canRenameTeamDrive)
327  {
328    $this->canRenameTeamDrive = $canRenameTeamDrive;
329  }
330  /**
331   * @return bool
332   */
333  public function getCanRenameTeamDrive()
334  {
335    return $this->canRenameTeamDrive;
336  }
337  /**
338   * @param bool
339   */
340  public function setCanShare($canShare)
341  {
342    $this->canShare = $canShare;
343  }
344  /**
345   * @return bool
346   */
347  public function getCanShare()
348  {
349    return $this->canShare;
350  }
351  /**
352   * @param bool
353   */
354  public function setCanTrashChildren($canTrashChildren)
355  {
356    $this->canTrashChildren = $canTrashChildren;
357  }
358  /**
359   * @return bool
360   */
361  public function getCanTrashChildren()
362  {
363    return $this->canTrashChildren;
364  }
365}
366
367// Adding a class alias for backwards compatibility with the previous class name.
368class_alias(TeamDriveCapabilities::class, 'Google_Service_Drive_TeamDriveCapabilities');
369