source: vendor/google/apiclient-services/src/Drive/DriveCapabilities.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

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