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 DriveFileCapabilities extends \Google\Model
21{
22  /**
23   * @var bool
24   */
25  public $canAcceptOwnership;
26  /**
27   * @var bool
28   */
29  public $canAddChildren;
30  /**
31   * @var bool
32   */
33  public $canAddFolderFromAnotherDrive;
34  /**
35   * @var bool
36   */
37  public $canAddMyDriveParent;
38  /**
39   * @var bool
40   */
41  public $canChangeCopyRequiresWriterPermission;
42  /**
43   * @var bool
44   */
45  public $canChangeSecurityUpdateEnabled;
46  /**
47   * @var bool
48   */
49  public $canChangeViewersCanCopyContent;
50  /**
51   * @var bool
52   */
53  public $canComment;
54  /**
55   * @var bool
56   */
57  public $canCopy;
58  /**
59   * @var bool
60   */
61  public $canDelete;
62  /**
63   * @var bool
64   */
65  public $canDeleteChildren;
66  /**
67   * @var bool
68   */
69  public $canDownload;
70  /**
71   * @var bool
72   */
73  public $canEdit;
74  /**
75   * @var bool
76   */
77  public $canListChildren;
78  /**
79   * @var bool
80   */
81  public $canModifyContent;
82  /**
83   * @var bool
84   */
85  public $canModifyContentRestriction;
86  /**
87   * @var bool
88   */
89  public $canMoveChildrenOutOfDrive;
90  /**
91   * @var bool
92   */
93  public $canMoveChildrenOutOfTeamDrive;
94  /**
95   * @var bool
96   */
97  public $canMoveChildrenWithinDrive;
98  /**
99   * @var bool
100   */
101  public $canMoveChildrenWithinTeamDrive;
102  /**
103   * @var bool
104   */
105  public $canMoveItemIntoTeamDrive;
106  /**
107   * @var bool
108   */
109  public $canMoveItemOutOfDrive;
110  /**
111   * @var bool
112   */
113  public $canMoveItemOutOfTeamDrive;
114  /**
115   * @var bool
116   */
117  public $canMoveItemWithinDrive;
118  /**
119   * @var bool
120   */
121  public $canMoveItemWithinTeamDrive;
122  /**
123   * @var bool
124   */
125  public $canMoveTeamDriveItem;
126  /**
127   * @var bool
128   */
129  public $canReadDrive;
130  /**
131   * @var bool
132   */
133  public $canReadRevisions;
134  /**
135   * @var bool
136   */
137  public $canReadTeamDrive;
138  /**
139   * @var bool
140   */
141  public $canRemoveChildren;
142  /**
143   * @var bool
144   */
145  public $canRemoveMyDriveParent;
146  /**
147   * @var bool
148   */
149  public $canRename;
150  /**
151   * @var bool
152   */
153  public $canShare;
154  /**
155   * @var bool
156   */
157  public $canTrash;
158  /**
159   * @var bool
160   */
161  public $canTrashChildren;
162  /**
163   * @var bool
164   */
165  public $canUntrash;
166
167  /**
168   * @param bool
169   */
170  public function setCanAcceptOwnership($canAcceptOwnership)
171  {
172    $this->canAcceptOwnership = $canAcceptOwnership;
173  }
174  /**
175   * @return bool
176   */
177  public function getCanAcceptOwnership()
178  {
179    return $this->canAcceptOwnership;
180  }
181  /**
182   * @param bool
183   */
184  public function setCanAddChildren($canAddChildren)
185  {
186    $this->canAddChildren = $canAddChildren;
187  }
188  /**
189   * @return bool
190   */
191  public function getCanAddChildren()
192  {
193    return $this->canAddChildren;
194  }
195  /**
196   * @param bool
197   */
198  public function setCanAddFolderFromAnotherDrive($canAddFolderFromAnotherDrive)
199  {
200    $this->canAddFolderFromAnotherDrive = $canAddFolderFromAnotherDrive;
201  }
202  /**
203   * @return bool
204   */
205  public function getCanAddFolderFromAnotherDrive()
206  {
207    return $this->canAddFolderFromAnotherDrive;
208  }
209  /**
210   * @param bool
211   */
212  public function setCanAddMyDriveParent($canAddMyDriveParent)
213  {
214    $this->canAddMyDriveParent = $canAddMyDriveParent;
215  }
216  /**
217   * @return bool
218   */
219  public function getCanAddMyDriveParent()
220  {
221    return $this->canAddMyDriveParent;
222  }
223  /**
224   * @param bool
225   */
226  public function setCanChangeCopyRequiresWriterPermission($canChangeCopyRequiresWriterPermission)
227  {
228    $this->canChangeCopyRequiresWriterPermission = $canChangeCopyRequiresWriterPermission;
229  }
230  /**
231   * @return bool
232   */
233  public function getCanChangeCopyRequiresWriterPermission()
234  {
235    return $this->canChangeCopyRequiresWriterPermission;
236  }
237  /**
238   * @param bool
239   */
240  public function setCanChangeSecurityUpdateEnabled($canChangeSecurityUpdateEnabled)
241  {
242    $this->canChangeSecurityUpdateEnabled = $canChangeSecurityUpdateEnabled;
243  }
244  /**
245   * @return bool
246   */
247  public function getCanChangeSecurityUpdateEnabled()
248  {
249    return $this->canChangeSecurityUpdateEnabled;
250  }
251  /**
252   * @param bool
253   */
254  public function setCanChangeViewersCanCopyContent($canChangeViewersCanCopyContent)
255  {
256    $this->canChangeViewersCanCopyContent = $canChangeViewersCanCopyContent;
257  }
258  /**
259   * @return bool
260   */
261  public function getCanChangeViewersCanCopyContent()
262  {
263    return $this->canChangeViewersCanCopyContent;
264  }
265  /**
266   * @param bool
267   */
268  public function setCanComment($canComment)
269  {
270    $this->canComment = $canComment;
271  }
272  /**
273   * @return bool
274   */
275  public function getCanComment()
276  {
277    return $this->canComment;
278  }
279  /**
280   * @param bool
281   */
282  public function setCanCopy($canCopy)
283  {
284    $this->canCopy = $canCopy;
285  }
286  /**
287   * @return bool
288   */
289  public function getCanCopy()
290  {
291    return $this->canCopy;
292  }
293  /**
294   * @param bool
295   */
296  public function setCanDelete($canDelete)
297  {
298    $this->canDelete = $canDelete;
299  }
300  /**
301   * @return bool
302   */
303  public function getCanDelete()
304  {
305    return $this->canDelete;
306  }
307  /**
308   * @param bool
309   */
310  public function setCanDeleteChildren($canDeleteChildren)
311  {
312    $this->canDeleteChildren = $canDeleteChildren;
313  }
314  /**
315   * @return bool
316   */
317  public function getCanDeleteChildren()
318  {
319    return $this->canDeleteChildren;
320  }
321  /**
322   * @param bool
323   */
324  public function setCanDownload($canDownload)
325  {
326    $this->canDownload = $canDownload;
327  }
328  /**
329   * @return bool
330   */
331  public function getCanDownload()
332  {
333    return $this->canDownload;
334  }
335  /**
336   * @param bool
337   */
338  public function setCanEdit($canEdit)
339  {
340    $this->canEdit = $canEdit;
341  }
342  /**
343   * @return bool
344   */
345  public function getCanEdit()
346  {
347    return $this->canEdit;
348  }
349  /**
350   * @param bool
351   */
352  public function setCanListChildren($canListChildren)
353  {
354    $this->canListChildren = $canListChildren;
355  }
356  /**
357   * @return bool
358   */
359  public function getCanListChildren()
360  {
361    return $this->canListChildren;
362  }
363  /**
364   * @param bool
365   */
366  public function setCanModifyContent($canModifyContent)
367  {
368    $this->canModifyContent = $canModifyContent;
369  }
370  /**
371   * @return bool
372   */
373  public function getCanModifyContent()
374  {
375    return $this->canModifyContent;
376  }
377  /**
378   * @param bool
379   */
380  public function setCanModifyContentRestriction($canModifyContentRestriction)
381  {
382    $this->canModifyContentRestriction = $canModifyContentRestriction;
383  }
384  /**
385   * @return bool
386   */
387  public function getCanModifyContentRestriction()
388  {
389    return $this->canModifyContentRestriction;
390  }
391  /**
392   * @param bool
393   */
394  public function setCanMoveChildrenOutOfDrive($canMoveChildrenOutOfDrive)
395  {
396    $this->canMoveChildrenOutOfDrive = $canMoveChildrenOutOfDrive;
397  }
398  /**
399   * @return bool
400   */
401  public function getCanMoveChildrenOutOfDrive()
402  {
403    return $this->canMoveChildrenOutOfDrive;
404  }
405  /**
406   * @param bool
407   */
408  public function setCanMoveChildrenOutOfTeamDrive($canMoveChildrenOutOfTeamDrive)
409  {
410    $this->canMoveChildrenOutOfTeamDrive = $canMoveChildrenOutOfTeamDrive;
411  }
412  /**
413   * @return bool
414   */
415  public function getCanMoveChildrenOutOfTeamDrive()
416  {
417    return $this->canMoveChildrenOutOfTeamDrive;
418  }
419  /**
420   * @param bool
421   */
422  public function setCanMoveChildrenWithinDrive($canMoveChildrenWithinDrive)
423  {
424    $this->canMoveChildrenWithinDrive = $canMoveChildrenWithinDrive;
425  }
426  /**
427   * @return bool
428   */
429  public function getCanMoveChildrenWithinDrive()
430  {
431    return $this->canMoveChildrenWithinDrive;
432  }
433  /**
434   * @param bool
435   */
436  public function setCanMoveChildrenWithinTeamDrive($canMoveChildrenWithinTeamDrive)
437  {
438    $this->canMoveChildrenWithinTeamDrive = $canMoveChildrenWithinTeamDrive;
439  }
440  /**
441   * @return bool
442   */
443  public function getCanMoveChildrenWithinTeamDrive()
444  {
445    return $this->canMoveChildrenWithinTeamDrive;
446  }
447  /**
448   * @param bool
449   */
450  public function setCanMoveItemIntoTeamDrive($canMoveItemIntoTeamDrive)
451  {
452    $this->canMoveItemIntoTeamDrive = $canMoveItemIntoTeamDrive;
453  }
454  /**
455   * @return bool
456   */
457  public function getCanMoveItemIntoTeamDrive()
458  {
459    return $this->canMoveItemIntoTeamDrive;
460  }
461  /**
462   * @param bool
463   */
464  public function setCanMoveItemOutOfDrive($canMoveItemOutOfDrive)
465  {
466    $this->canMoveItemOutOfDrive = $canMoveItemOutOfDrive;
467  }
468  /**
469   * @return bool
470   */
471  public function getCanMoveItemOutOfDrive()
472  {
473    return $this->canMoveItemOutOfDrive;
474  }
475  /**
476   * @param bool
477   */
478  public function setCanMoveItemOutOfTeamDrive($canMoveItemOutOfTeamDrive)
479  {
480    $this->canMoveItemOutOfTeamDrive = $canMoveItemOutOfTeamDrive;
481  }
482  /**
483   * @return bool
484   */
485  public function getCanMoveItemOutOfTeamDrive()
486  {
487    return $this->canMoveItemOutOfTeamDrive;
488  }
489  /**
490   * @param bool
491   */
492  public function setCanMoveItemWithinDrive($canMoveItemWithinDrive)
493  {
494    $this->canMoveItemWithinDrive = $canMoveItemWithinDrive;
495  }
496  /**
497   * @return bool
498   */
499  public function getCanMoveItemWithinDrive()
500  {
501    return $this->canMoveItemWithinDrive;
502  }
503  /**
504   * @param bool
505   */
506  public function setCanMoveItemWithinTeamDrive($canMoveItemWithinTeamDrive)
507  {
508    $this->canMoveItemWithinTeamDrive = $canMoveItemWithinTeamDrive;
509  }
510  /**
511   * @return bool
512   */
513  public function getCanMoveItemWithinTeamDrive()
514  {
515    return $this->canMoveItemWithinTeamDrive;
516  }
517  /**
518   * @param bool
519   */
520  public function setCanMoveTeamDriveItem($canMoveTeamDriveItem)
521  {
522    $this->canMoveTeamDriveItem = $canMoveTeamDriveItem;
523  }
524  /**
525   * @return bool
526   */
527  public function getCanMoveTeamDriveItem()
528  {
529    return $this->canMoveTeamDriveItem;
530  }
531  /**
532   * @param bool
533   */
534  public function setCanReadDrive($canReadDrive)
535  {
536    $this->canReadDrive = $canReadDrive;
537  }
538  /**
539   * @return bool
540   */
541  public function getCanReadDrive()
542  {
543    return $this->canReadDrive;
544  }
545  /**
546   * @param bool
547   */
548  public function setCanReadRevisions($canReadRevisions)
549  {
550    $this->canReadRevisions = $canReadRevisions;
551  }
552  /**
553   * @return bool
554   */
555  public function getCanReadRevisions()
556  {
557    return $this->canReadRevisions;
558  }
559  /**
560   * @param bool
561   */
562  public function setCanReadTeamDrive($canReadTeamDrive)
563  {
564    $this->canReadTeamDrive = $canReadTeamDrive;
565  }
566  /**
567   * @return bool
568   */
569  public function getCanReadTeamDrive()
570  {
571    return $this->canReadTeamDrive;
572  }
573  /**
574   * @param bool
575   */
576  public function setCanRemoveChildren($canRemoveChildren)
577  {
578    $this->canRemoveChildren = $canRemoveChildren;
579  }
580  /**
581   * @return bool
582   */
583  public function getCanRemoveChildren()
584  {
585    return $this->canRemoveChildren;
586  }
587  /**
588   * @param bool
589   */
590  public function setCanRemoveMyDriveParent($canRemoveMyDriveParent)
591  {
592    $this->canRemoveMyDriveParent = $canRemoveMyDriveParent;
593  }
594  /**
595   * @return bool
596   */
597  public function getCanRemoveMyDriveParent()
598  {
599    return $this->canRemoveMyDriveParent;
600  }
601  /**
602   * @param bool
603   */
604  public function setCanRename($canRename)
605  {
606    $this->canRename = $canRename;
607  }
608  /**
609   * @return bool
610   */
611  public function getCanRename()
612  {
613    return $this->canRename;
614  }
615  /**
616   * @param bool
617   */
618  public function setCanShare($canShare)
619  {
620    $this->canShare = $canShare;
621  }
622  /**
623   * @return bool
624   */
625  public function getCanShare()
626  {
627    return $this->canShare;
628  }
629  /**
630   * @param bool
631   */
632  public function setCanTrash($canTrash)
633  {
634    $this->canTrash = $canTrash;
635  }
636  /**
637   * @return bool
638   */
639  public function getCanTrash()
640  {
641    return $this->canTrash;
642  }
643  /**
644   * @param bool
645   */
646  public function setCanTrashChildren($canTrashChildren)
647  {
648    $this->canTrashChildren = $canTrashChildren;
649  }
650  /**
651   * @return bool
652   */
653  public function getCanTrashChildren()
654  {
655    return $this->canTrashChildren;
656  }
657  /**
658   * @param bool
659   */
660  public function setCanUntrash($canUntrash)
661  {
662    $this->canUntrash = $canUntrash;
663  }
664  /**
665   * @return bool
666   */
667  public function getCanUntrash()
668  {
669    return $this->canUntrash;
670  }
671}
672
673// Adding a class alias for backwards compatibility with the previous class name.
674class_alias(DriveFileCapabilities::class, 'Google_Service_Drive_DriveFileCapabilities');
675