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 |
|
---|
18 | namespace Google\Service\Drive;
|
---|
19 |
|
---|
20 | class DriveFile extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'spaces';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $appProperties;
|
---|
27 | protected $capabilitiesType = DriveFileCapabilities::class;
|
---|
28 | protected $capabilitiesDataType = '';
|
---|
29 | protected $contentHintsType = DriveFileContentHints::class;
|
---|
30 | protected $contentHintsDataType = '';
|
---|
31 | protected $contentRestrictionsType = ContentRestriction::class;
|
---|
32 | protected $contentRestrictionsDataType = 'array';
|
---|
33 | /**
|
---|
34 | * @var bool
|
---|
35 | */
|
---|
36 | public $copyRequiresWriterPermission;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $createdTime;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $description;
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $driveId;
|
---|
49 | /**
|
---|
50 | * @var bool
|
---|
51 | */
|
---|
52 | public $explicitlyTrashed;
|
---|
53 | /**
|
---|
54 | * @var string[]
|
---|
55 | */
|
---|
56 | public $exportLinks;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $fileExtension;
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $folderColorRgb;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $fullFileExtension;
|
---|
69 | /**
|
---|
70 | * @var bool
|
---|
71 | */
|
---|
72 | public $hasAugmentedPermissions;
|
---|
73 | /**
|
---|
74 | * @var bool
|
---|
75 | */
|
---|
76 | public $hasThumbnail;
|
---|
77 | /**
|
---|
78 | * @var string
|
---|
79 | */
|
---|
80 | public $headRevisionId;
|
---|
81 | /**
|
---|
82 | * @var string
|
---|
83 | */
|
---|
84 | public $iconLink;
|
---|
85 | /**
|
---|
86 | * @var string
|
---|
87 | */
|
---|
88 | public $id;
|
---|
89 | protected $imageMediaMetadataType = DriveFileImageMediaMetadata::class;
|
---|
90 | protected $imageMediaMetadataDataType = '';
|
---|
91 | /**
|
---|
92 | * @var bool
|
---|
93 | */
|
---|
94 | public $isAppAuthorized;
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $kind;
|
---|
99 | protected $labelInfoType = DriveFileLabelInfo::class;
|
---|
100 | protected $labelInfoDataType = '';
|
---|
101 | protected $lastModifyingUserType = User::class;
|
---|
102 | protected $lastModifyingUserDataType = '';
|
---|
103 | protected $linkShareMetadataType = DriveFileLinkShareMetadata::class;
|
---|
104 | protected $linkShareMetadataDataType = '';
|
---|
105 | /**
|
---|
106 | * @var string
|
---|
107 | */
|
---|
108 | public $md5Checksum;
|
---|
109 | /**
|
---|
110 | * @var string
|
---|
111 | */
|
---|
112 | public $mimeType;
|
---|
113 | /**
|
---|
114 | * @var bool
|
---|
115 | */
|
---|
116 | public $modifiedByMe;
|
---|
117 | /**
|
---|
118 | * @var string
|
---|
119 | */
|
---|
120 | public $modifiedByMeTime;
|
---|
121 | /**
|
---|
122 | * @var string
|
---|
123 | */
|
---|
124 | public $modifiedTime;
|
---|
125 | /**
|
---|
126 | * @var string
|
---|
127 | */
|
---|
128 | public $name;
|
---|
129 | /**
|
---|
130 | * @var string
|
---|
131 | */
|
---|
132 | public $originalFilename;
|
---|
133 | /**
|
---|
134 | * @var bool
|
---|
135 | */
|
---|
136 | public $ownedByMe;
|
---|
137 | protected $ownersType = User::class;
|
---|
138 | protected $ownersDataType = 'array';
|
---|
139 | /**
|
---|
140 | * @var string[]
|
---|
141 | */
|
---|
142 | public $parents;
|
---|
143 | /**
|
---|
144 | * @var string[]
|
---|
145 | */
|
---|
146 | public $permissionIds;
|
---|
147 | protected $permissionsType = Permission::class;
|
---|
148 | protected $permissionsDataType = 'array';
|
---|
149 | /**
|
---|
150 | * @var string[]
|
---|
151 | */
|
---|
152 | public $properties;
|
---|
153 | /**
|
---|
154 | * @var string
|
---|
155 | */
|
---|
156 | public $quotaBytesUsed;
|
---|
157 | /**
|
---|
158 | * @var string
|
---|
159 | */
|
---|
160 | public $resourceKey;
|
---|
161 | /**
|
---|
162 | * @var string
|
---|
163 | */
|
---|
164 | public $sha1Checksum;
|
---|
165 | /**
|
---|
166 | * @var string
|
---|
167 | */
|
---|
168 | public $sha256Checksum;
|
---|
169 | /**
|
---|
170 | * @var bool
|
---|
171 | */
|
---|
172 | public $shared;
|
---|
173 | /**
|
---|
174 | * @var string
|
---|
175 | */
|
---|
176 | public $sharedWithMeTime;
|
---|
177 | protected $sharingUserType = User::class;
|
---|
178 | protected $sharingUserDataType = '';
|
---|
179 | protected $shortcutDetailsType = DriveFileShortcutDetails::class;
|
---|
180 | protected $shortcutDetailsDataType = '';
|
---|
181 | /**
|
---|
182 | * @var string
|
---|
183 | */
|
---|
184 | public $size;
|
---|
185 | /**
|
---|
186 | * @var string[]
|
---|
187 | */
|
---|
188 | public $spaces;
|
---|
189 | /**
|
---|
190 | * @var bool
|
---|
191 | */
|
---|
192 | public $starred;
|
---|
193 | /**
|
---|
194 | * @var string
|
---|
195 | */
|
---|
196 | public $teamDriveId;
|
---|
197 | /**
|
---|
198 | * @var string
|
---|
199 | */
|
---|
200 | public $thumbnailLink;
|
---|
201 | /**
|
---|
202 | * @var string
|
---|
203 | */
|
---|
204 | public $thumbnailVersion;
|
---|
205 | /**
|
---|
206 | * @var bool
|
---|
207 | */
|
---|
208 | public $trashed;
|
---|
209 | /**
|
---|
210 | * @var string
|
---|
211 | */
|
---|
212 | public $trashedTime;
|
---|
213 | protected $trashingUserType = User::class;
|
---|
214 | protected $trashingUserDataType = '';
|
---|
215 | /**
|
---|
216 | * @var string
|
---|
217 | */
|
---|
218 | public $version;
|
---|
219 | protected $videoMediaMetadataType = DriveFileVideoMediaMetadata::class;
|
---|
220 | protected $videoMediaMetadataDataType = '';
|
---|
221 | /**
|
---|
222 | * @var bool
|
---|
223 | */
|
---|
224 | public $viewedByMe;
|
---|
225 | /**
|
---|
226 | * @var string
|
---|
227 | */
|
---|
228 | public $viewedByMeTime;
|
---|
229 | /**
|
---|
230 | * @var bool
|
---|
231 | */
|
---|
232 | public $viewersCanCopyContent;
|
---|
233 | /**
|
---|
234 | * @var string
|
---|
235 | */
|
---|
236 | public $webContentLink;
|
---|
237 | /**
|
---|
238 | * @var string
|
---|
239 | */
|
---|
240 | public $webViewLink;
|
---|
241 | /**
|
---|
242 | * @var bool
|
---|
243 | */
|
---|
244 | public $writersCanShare;
|
---|
245 |
|
---|
246 | /**
|
---|
247 | * @param string[]
|
---|
248 | */
|
---|
249 | public function setAppProperties($appProperties)
|
---|
250 | {
|
---|
251 | $this->appProperties = $appProperties;
|
---|
252 | }
|
---|
253 | /**
|
---|
254 | * @return string[]
|
---|
255 | */
|
---|
256 | public function getAppProperties()
|
---|
257 | {
|
---|
258 | return $this->appProperties;
|
---|
259 | }
|
---|
260 | /**
|
---|
261 | * @param DriveFileCapabilities
|
---|
262 | */
|
---|
263 | public function setCapabilities(DriveFileCapabilities $capabilities)
|
---|
264 | {
|
---|
265 | $this->capabilities = $capabilities;
|
---|
266 | }
|
---|
267 | /**
|
---|
268 | * @return DriveFileCapabilities
|
---|
269 | */
|
---|
270 | public function getCapabilities()
|
---|
271 | {
|
---|
272 | return $this->capabilities;
|
---|
273 | }
|
---|
274 | /**
|
---|
275 | * @param DriveFileContentHints
|
---|
276 | */
|
---|
277 | public function setContentHints(DriveFileContentHints $contentHints)
|
---|
278 | {
|
---|
279 | $this->contentHints = $contentHints;
|
---|
280 | }
|
---|
281 | /**
|
---|
282 | * @return DriveFileContentHints
|
---|
283 | */
|
---|
284 | public function getContentHints()
|
---|
285 | {
|
---|
286 | return $this->contentHints;
|
---|
287 | }
|
---|
288 | /**
|
---|
289 | * @param ContentRestriction[]
|
---|
290 | */
|
---|
291 | public function setContentRestrictions($contentRestrictions)
|
---|
292 | {
|
---|
293 | $this->contentRestrictions = $contentRestrictions;
|
---|
294 | }
|
---|
295 | /**
|
---|
296 | * @return ContentRestriction[]
|
---|
297 | */
|
---|
298 | public function getContentRestrictions()
|
---|
299 | {
|
---|
300 | return $this->contentRestrictions;
|
---|
301 | }
|
---|
302 | /**
|
---|
303 | * @param bool
|
---|
304 | */
|
---|
305 | public function setCopyRequiresWriterPermission($copyRequiresWriterPermission)
|
---|
306 | {
|
---|
307 | $this->copyRequiresWriterPermission = $copyRequiresWriterPermission;
|
---|
308 | }
|
---|
309 | /**
|
---|
310 | * @return bool
|
---|
311 | */
|
---|
312 | public function getCopyRequiresWriterPermission()
|
---|
313 | {
|
---|
314 | return $this->copyRequiresWriterPermission;
|
---|
315 | }
|
---|
316 | /**
|
---|
317 | * @param string
|
---|
318 | */
|
---|
319 | public function setCreatedTime($createdTime)
|
---|
320 | {
|
---|
321 | $this->createdTime = $createdTime;
|
---|
322 | }
|
---|
323 | /**
|
---|
324 | * @return string
|
---|
325 | */
|
---|
326 | public function getCreatedTime()
|
---|
327 | {
|
---|
328 | return $this->createdTime;
|
---|
329 | }
|
---|
330 | /**
|
---|
331 | * @param string
|
---|
332 | */
|
---|
333 | public function setDescription($description)
|
---|
334 | {
|
---|
335 | $this->description = $description;
|
---|
336 | }
|
---|
337 | /**
|
---|
338 | * @return string
|
---|
339 | */
|
---|
340 | public function getDescription()
|
---|
341 | {
|
---|
342 | return $this->description;
|
---|
343 | }
|
---|
344 | /**
|
---|
345 | * @param string
|
---|
346 | */
|
---|
347 | public function setDriveId($driveId)
|
---|
348 | {
|
---|
349 | $this->driveId = $driveId;
|
---|
350 | }
|
---|
351 | /**
|
---|
352 | * @return string
|
---|
353 | */
|
---|
354 | public function getDriveId()
|
---|
355 | {
|
---|
356 | return $this->driveId;
|
---|
357 | }
|
---|
358 | /**
|
---|
359 | * @param bool
|
---|
360 | */
|
---|
361 | public function setExplicitlyTrashed($explicitlyTrashed)
|
---|
362 | {
|
---|
363 | $this->explicitlyTrashed = $explicitlyTrashed;
|
---|
364 | }
|
---|
365 | /**
|
---|
366 | * @return bool
|
---|
367 | */
|
---|
368 | public function getExplicitlyTrashed()
|
---|
369 | {
|
---|
370 | return $this->explicitlyTrashed;
|
---|
371 | }
|
---|
372 | /**
|
---|
373 | * @param string[]
|
---|
374 | */
|
---|
375 | public function setExportLinks($exportLinks)
|
---|
376 | {
|
---|
377 | $this->exportLinks = $exportLinks;
|
---|
378 | }
|
---|
379 | /**
|
---|
380 | * @return string[]
|
---|
381 | */
|
---|
382 | public function getExportLinks()
|
---|
383 | {
|
---|
384 | return $this->exportLinks;
|
---|
385 | }
|
---|
386 | /**
|
---|
387 | * @param string
|
---|
388 | */
|
---|
389 | public function setFileExtension($fileExtension)
|
---|
390 | {
|
---|
391 | $this->fileExtension = $fileExtension;
|
---|
392 | }
|
---|
393 | /**
|
---|
394 | * @return string
|
---|
395 | */
|
---|
396 | public function getFileExtension()
|
---|
397 | {
|
---|
398 | return $this->fileExtension;
|
---|
399 | }
|
---|
400 | /**
|
---|
401 | * @param string
|
---|
402 | */
|
---|
403 | public function setFolderColorRgb($folderColorRgb)
|
---|
404 | {
|
---|
405 | $this->folderColorRgb = $folderColorRgb;
|
---|
406 | }
|
---|
407 | /**
|
---|
408 | * @return string
|
---|
409 | */
|
---|
410 | public function getFolderColorRgb()
|
---|
411 | {
|
---|
412 | return $this->folderColorRgb;
|
---|
413 | }
|
---|
414 | /**
|
---|
415 | * @param string
|
---|
416 | */
|
---|
417 | public function setFullFileExtension($fullFileExtension)
|
---|
418 | {
|
---|
419 | $this->fullFileExtension = $fullFileExtension;
|
---|
420 | }
|
---|
421 | /**
|
---|
422 | * @return string
|
---|
423 | */
|
---|
424 | public function getFullFileExtension()
|
---|
425 | {
|
---|
426 | return $this->fullFileExtension;
|
---|
427 | }
|
---|
428 | /**
|
---|
429 | * @param bool
|
---|
430 | */
|
---|
431 | public function setHasAugmentedPermissions($hasAugmentedPermissions)
|
---|
432 | {
|
---|
433 | $this->hasAugmentedPermissions = $hasAugmentedPermissions;
|
---|
434 | }
|
---|
435 | /**
|
---|
436 | * @return bool
|
---|
437 | */
|
---|
438 | public function getHasAugmentedPermissions()
|
---|
439 | {
|
---|
440 | return $this->hasAugmentedPermissions;
|
---|
441 | }
|
---|
442 | /**
|
---|
443 | * @param bool
|
---|
444 | */
|
---|
445 | public function setHasThumbnail($hasThumbnail)
|
---|
446 | {
|
---|
447 | $this->hasThumbnail = $hasThumbnail;
|
---|
448 | }
|
---|
449 | /**
|
---|
450 | * @return bool
|
---|
451 | */
|
---|
452 | public function getHasThumbnail()
|
---|
453 | {
|
---|
454 | return $this->hasThumbnail;
|
---|
455 | }
|
---|
456 | /**
|
---|
457 | * @param string
|
---|
458 | */
|
---|
459 | public function setHeadRevisionId($headRevisionId)
|
---|
460 | {
|
---|
461 | $this->headRevisionId = $headRevisionId;
|
---|
462 | }
|
---|
463 | /**
|
---|
464 | * @return string
|
---|
465 | */
|
---|
466 | public function getHeadRevisionId()
|
---|
467 | {
|
---|
468 | return $this->headRevisionId;
|
---|
469 | }
|
---|
470 | /**
|
---|
471 | * @param string
|
---|
472 | */
|
---|
473 | public function setIconLink($iconLink)
|
---|
474 | {
|
---|
475 | $this->iconLink = $iconLink;
|
---|
476 | }
|
---|
477 | /**
|
---|
478 | * @return string
|
---|
479 | */
|
---|
480 | public function getIconLink()
|
---|
481 | {
|
---|
482 | return $this->iconLink;
|
---|
483 | }
|
---|
484 | /**
|
---|
485 | * @param string
|
---|
486 | */
|
---|
487 | public function setId($id)
|
---|
488 | {
|
---|
489 | $this->id = $id;
|
---|
490 | }
|
---|
491 | /**
|
---|
492 | * @return string
|
---|
493 | */
|
---|
494 | public function getId()
|
---|
495 | {
|
---|
496 | return $this->id;
|
---|
497 | }
|
---|
498 | /**
|
---|
499 | * @param DriveFileImageMediaMetadata
|
---|
500 | */
|
---|
501 | public function setImageMediaMetadata(DriveFileImageMediaMetadata $imageMediaMetadata)
|
---|
502 | {
|
---|
503 | $this->imageMediaMetadata = $imageMediaMetadata;
|
---|
504 | }
|
---|
505 | /**
|
---|
506 | * @return DriveFileImageMediaMetadata
|
---|
507 | */
|
---|
508 | public function getImageMediaMetadata()
|
---|
509 | {
|
---|
510 | return $this->imageMediaMetadata;
|
---|
511 | }
|
---|
512 | /**
|
---|
513 | * @param bool
|
---|
514 | */
|
---|
515 | public function setIsAppAuthorized($isAppAuthorized)
|
---|
516 | {
|
---|
517 | $this->isAppAuthorized = $isAppAuthorized;
|
---|
518 | }
|
---|
519 | /**
|
---|
520 | * @return bool
|
---|
521 | */
|
---|
522 | public function getIsAppAuthorized()
|
---|
523 | {
|
---|
524 | return $this->isAppAuthorized;
|
---|
525 | }
|
---|
526 | /**
|
---|
527 | * @param string
|
---|
528 | */
|
---|
529 | public function setKind($kind)
|
---|
530 | {
|
---|
531 | $this->kind = $kind;
|
---|
532 | }
|
---|
533 | /**
|
---|
534 | * @return string
|
---|
535 | */
|
---|
536 | public function getKind()
|
---|
537 | {
|
---|
538 | return $this->kind;
|
---|
539 | }
|
---|
540 | /**
|
---|
541 | * @param DriveFileLabelInfo
|
---|
542 | */
|
---|
543 | public function setLabelInfo(DriveFileLabelInfo $labelInfo)
|
---|
544 | {
|
---|
545 | $this->labelInfo = $labelInfo;
|
---|
546 | }
|
---|
547 | /**
|
---|
548 | * @return DriveFileLabelInfo
|
---|
549 | */
|
---|
550 | public function getLabelInfo()
|
---|
551 | {
|
---|
552 | return $this->labelInfo;
|
---|
553 | }
|
---|
554 | /**
|
---|
555 | * @param User
|
---|
556 | */
|
---|
557 | public function setLastModifyingUser(User $lastModifyingUser)
|
---|
558 | {
|
---|
559 | $this->lastModifyingUser = $lastModifyingUser;
|
---|
560 | }
|
---|
561 | /**
|
---|
562 | * @return User
|
---|
563 | */
|
---|
564 | public function getLastModifyingUser()
|
---|
565 | {
|
---|
566 | return $this->lastModifyingUser;
|
---|
567 | }
|
---|
568 | /**
|
---|
569 | * @param DriveFileLinkShareMetadata
|
---|
570 | */
|
---|
571 | public function setLinkShareMetadata(DriveFileLinkShareMetadata $linkShareMetadata)
|
---|
572 | {
|
---|
573 | $this->linkShareMetadata = $linkShareMetadata;
|
---|
574 | }
|
---|
575 | /**
|
---|
576 | * @return DriveFileLinkShareMetadata
|
---|
577 | */
|
---|
578 | public function getLinkShareMetadata()
|
---|
579 | {
|
---|
580 | return $this->linkShareMetadata;
|
---|
581 | }
|
---|
582 | /**
|
---|
583 | * @param string
|
---|
584 | */
|
---|
585 | public function setMd5Checksum($md5Checksum)
|
---|
586 | {
|
---|
587 | $this->md5Checksum = $md5Checksum;
|
---|
588 | }
|
---|
589 | /**
|
---|
590 | * @return string
|
---|
591 | */
|
---|
592 | public function getMd5Checksum()
|
---|
593 | {
|
---|
594 | return $this->md5Checksum;
|
---|
595 | }
|
---|
596 | /**
|
---|
597 | * @param string
|
---|
598 | */
|
---|
599 | public function setMimeType($mimeType)
|
---|
600 | {
|
---|
601 | $this->mimeType = $mimeType;
|
---|
602 | }
|
---|
603 | /**
|
---|
604 | * @return string
|
---|
605 | */
|
---|
606 | public function getMimeType()
|
---|
607 | {
|
---|
608 | return $this->mimeType;
|
---|
609 | }
|
---|
610 | /**
|
---|
611 | * @param bool
|
---|
612 | */
|
---|
613 | public function setModifiedByMe($modifiedByMe)
|
---|
614 | {
|
---|
615 | $this->modifiedByMe = $modifiedByMe;
|
---|
616 | }
|
---|
617 | /**
|
---|
618 | * @return bool
|
---|
619 | */
|
---|
620 | public function getModifiedByMe()
|
---|
621 | {
|
---|
622 | return $this->modifiedByMe;
|
---|
623 | }
|
---|
624 | /**
|
---|
625 | * @param string
|
---|
626 | */
|
---|
627 | public function setModifiedByMeTime($modifiedByMeTime)
|
---|
628 | {
|
---|
629 | $this->modifiedByMeTime = $modifiedByMeTime;
|
---|
630 | }
|
---|
631 | /**
|
---|
632 | * @return string
|
---|
633 | */
|
---|
634 | public function getModifiedByMeTime()
|
---|
635 | {
|
---|
636 | return $this->modifiedByMeTime;
|
---|
637 | }
|
---|
638 | /**
|
---|
639 | * @param string
|
---|
640 | */
|
---|
641 | public function setModifiedTime($modifiedTime)
|
---|
642 | {
|
---|
643 | $this->modifiedTime = $modifiedTime;
|
---|
644 | }
|
---|
645 | /**
|
---|
646 | * @return string
|
---|
647 | */
|
---|
648 | public function getModifiedTime()
|
---|
649 | {
|
---|
650 | return $this->modifiedTime;
|
---|
651 | }
|
---|
652 | /**
|
---|
653 | * @param string
|
---|
654 | */
|
---|
655 | public function setName($name)
|
---|
656 | {
|
---|
657 | $this->name = $name;
|
---|
658 | }
|
---|
659 | /**
|
---|
660 | * @return string
|
---|
661 | */
|
---|
662 | public function getName()
|
---|
663 | {
|
---|
664 | return $this->name;
|
---|
665 | }
|
---|
666 | /**
|
---|
667 | * @param string
|
---|
668 | */
|
---|
669 | public function setOriginalFilename($originalFilename)
|
---|
670 | {
|
---|
671 | $this->originalFilename = $originalFilename;
|
---|
672 | }
|
---|
673 | /**
|
---|
674 | * @return string
|
---|
675 | */
|
---|
676 | public function getOriginalFilename()
|
---|
677 | {
|
---|
678 | return $this->originalFilename;
|
---|
679 | }
|
---|
680 | /**
|
---|
681 | * @param bool
|
---|
682 | */
|
---|
683 | public function setOwnedByMe($ownedByMe)
|
---|
684 | {
|
---|
685 | $this->ownedByMe = $ownedByMe;
|
---|
686 | }
|
---|
687 | /**
|
---|
688 | * @return bool
|
---|
689 | */
|
---|
690 | public function getOwnedByMe()
|
---|
691 | {
|
---|
692 | return $this->ownedByMe;
|
---|
693 | }
|
---|
694 | /**
|
---|
695 | * @param User[]
|
---|
696 | */
|
---|
697 | public function setOwners($owners)
|
---|
698 | {
|
---|
699 | $this->owners = $owners;
|
---|
700 | }
|
---|
701 | /**
|
---|
702 | * @return User[]
|
---|
703 | */
|
---|
704 | public function getOwners()
|
---|
705 | {
|
---|
706 | return $this->owners;
|
---|
707 | }
|
---|
708 | /**
|
---|
709 | * @param string[]
|
---|
710 | */
|
---|
711 | public function setParents($parents)
|
---|
712 | {
|
---|
713 | $this->parents = $parents;
|
---|
714 | }
|
---|
715 | /**
|
---|
716 | * @return string[]
|
---|
717 | */
|
---|
718 | public function getParents()
|
---|
719 | {
|
---|
720 | return $this->parents;
|
---|
721 | }
|
---|
722 | /**
|
---|
723 | * @param string[]
|
---|
724 | */
|
---|
725 | public function setPermissionIds($permissionIds)
|
---|
726 | {
|
---|
727 | $this->permissionIds = $permissionIds;
|
---|
728 | }
|
---|
729 | /**
|
---|
730 | * @return string[]
|
---|
731 | */
|
---|
732 | public function getPermissionIds()
|
---|
733 | {
|
---|
734 | return $this->permissionIds;
|
---|
735 | }
|
---|
736 | /**
|
---|
737 | * @param Permission[]
|
---|
738 | */
|
---|
739 | public function setPermissions($permissions)
|
---|
740 | {
|
---|
741 | $this->permissions = $permissions;
|
---|
742 | }
|
---|
743 | /**
|
---|
744 | * @return Permission[]
|
---|
745 | */
|
---|
746 | public function getPermissions()
|
---|
747 | {
|
---|
748 | return $this->permissions;
|
---|
749 | }
|
---|
750 | /**
|
---|
751 | * @param string[]
|
---|
752 | */
|
---|
753 | public function setProperties($properties)
|
---|
754 | {
|
---|
755 | $this->properties = $properties;
|
---|
756 | }
|
---|
757 | /**
|
---|
758 | * @return string[]
|
---|
759 | */
|
---|
760 | public function getProperties()
|
---|
761 | {
|
---|
762 | return $this->properties;
|
---|
763 | }
|
---|
764 | /**
|
---|
765 | * @param string
|
---|
766 | */
|
---|
767 | public function setQuotaBytesUsed($quotaBytesUsed)
|
---|
768 | {
|
---|
769 | $this->quotaBytesUsed = $quotaBytesUsed;
|
---|
770 | }
|
---|
771 | /**
|
---|
772 | * @return string
|
---|
773 | */
|
---|
774 | public function getQuotaBytesUsed()
|
---|
775 | {
|
---|
776 | return $this->quotaBytesUsed;
|
---|
777 | }
|
---|
778 | /**
|
---|
779 | * @param string
|
---|
780 | */
|
---|
781 | public function setResourceKey($resourceKey)
|
---|
782 | {
|
---|
783 | $this->resourceKey = $resourceKey;
|
---|
784 | }
|
---|
785 | /**
|
---|
786 | * @return string
|
---|
787 | */
|
---|
788 | public function getResourceKey()
|
---|
789 | {
|
---|
790 | return $this->resourceKey;
|
---|
791 | }
|
---|
792 | /**
|
---|
793 | * @param string
|
---|
794 | */
|
---|
795 | public function setSha1Checksum($sha1Checksum)
|
---|
796 | {
|
---|
797 | $this->sha1Checksum = $sha1Checksum;
|
---|
798 | }
|
---|
799 | /**
|
---|
800 | * @return string
|
---|
801 | */
|
---|
802 | public function getSha1Checksum()
|
---|
803 | {
|
---|
804 | return $this->sha1Checksum;
|
---|
805 | }
|
---|
806 | /**
|
---|
807 | * @param string
|
---|
808 | */
|
---|
809 | public function setSha256Checksum($sha256Checksum)
|
---|
810 | {
|
---|
811 | $this->sha256Checksum = $sha256Checksum;
|
---|
812 | }
|
---|
813 | /**
|
---|
814 | * @return string
|
---|
815 | */
|
---|
816 | public function getSha256Checksum()
|
---|
817 | {
|
---|
818 | return $this->sha256Checksum;
|
---|
819 | }
|
---|
820 | /**
|
---|
821 | * @param bool
|
---|
822 | */
|
---|
823 | public function setShared($shared)
|
---|
824 | {
|
---|
825 | $this->shared = $shared;
|
---|
826 | }
|
---|
827 | /**
|
---|
828 | * @return bool
|
---|
829 | */
|
---|
830 | public function getShared()
|
---|
831 | {
|
---|
832 | return $this->shared;
|
---|
833 | }
|
---|
834 | /**
|
---|
835 | * @param string
|
---|
836 | */
|
---|
837 | public function setSharedWithMeTime($sharedWithMeTime)
|
---|
838 | {
|
---|
839 | $this->sharedWithMeTime = $sharedWithMeTime;
|
---|
840 | }
|
---|
841 | /**
|
---|
842 | * @return string
|
---|
843 | */
|
---|
844 | public function getSharedWithMeTime()
|
---|
845 | {
|
---|
846 | return $this->sharedWithMeTime;
|
---|
847 | }
|
---|
848 | /**
|
---|
849 | * @param User
|
---|
850 | */
|
---|
851 | public function setSharingUser(User $sharingUser)
|
---|
852 | {
|
---|
853 | $this->sharingUser = $sharingUser;
|
---|
854 | }
|
---|
855 | /**
|
---|
856 | * @return User
|
---|
857 | */
|
---|
858 | public function getSharingUser()
|
---|
859 | {
|
---|
860 | return $this->sharingUser;
|
---|
861 | }
|
---|
862 | /**
|
---|
863 | * @param DriveFileShortcutDetails
|
---|
864 | */
|
---|
865 | public function setShortcutDetails(DriveFileShortcutDetails $shortcutDetails)
|
---|
866 | {
|
---|
867 | $this->shortcutDetails = $shortcutDetails;
|
---|
868 | }
|
---|
869 | /**
|
---|
870 | * @return DriveFileShortcutDetails
|
---|
871 | */
|
---|
872 | public function getShortcutDetails()
|
---|
873 | {
|
---|
874 | return $this->shortcutDetails;
|
---|
875 | }
|
---|
876 | /**
|
---|
877 | * @param string
|
---|
878 | */
|
---|
879 | public function setSize($size)
|
---|
880 | {
|
---|
881 | $this->size = $size;
|
---|
882 | }
|
---|
883 | /**
|
---|
884 | * @return string
|
---|
885 | */
|
---|
886 | public function getSize()
|
---|
887 | {
|
---|
888 | return $this->size;
|
---|
889 | }
|
---|
890 | /**
|
---|
891 | * @param string[]
|
---|
892 | */
|
---|
893 | public function setSpaces($spaces)
|
---|
894 | {
|
---|
895 | $this->spaces = $spaces;
|
---|
896 | }
|
---|
897 | /**
|
---|
898 | * @return string[]
|
---|
899 | */
|
---|
900 | public function getSpaces()
|
---|
901 | {
|
---|
902 | return $this->spaces;
|
---|
903 | }
|
---|
904 | /**
|
---|
905 | * @param bool
|
---|
906 | */
|
---|
907 | public function setStarred($starred)
|
---|
908 | {
|
---|
909 | $this->starred = $starred;
|
---|
910 | }
|
---|
911 | /**
|
---|
912 | * @return bool
|
---|
913 | */
|
---|
914 | public function getStarred()
|
---|
915 | {
|
---|
916 | return $this->starred;
|
---|
917 | }
|
---|
918 | /**
|
---|
919 | * @param string
|
---|
920 | */
|
---|
921 | public function setTeamDriveId($teamDriveId)
|
---|
922 | {
|
---|
923 | $this->teamDriveId = $teamDriveId;
|
---|
924 | }
|
---|
925 | /**
|
---|
926 | * @return string
|
---|
927 | */
|
---|
928 | public function getTeamDriveId()
|
---|
929 | {
|
---|
930 | return $this->teamDriveId;
|
---|
931 | }
|
---|
932 | /**
|
---|
933 | * @param string
|
---|
934 | */
|
---|
935 | public function setThumbnailLink($thumbnailLink)
|
---|
936 | {
|
---|
937 | $this->thumbnailLink = $thumbnailLink;
|
---|
938 | }
|
---|
939 | /**
|
---|
940 | * @return string
|
---|
941 | */
|
---|
942 | public function getThumbnailLink()
|
---|
943 | {
|
---|
944 | return $this->thumbnailLink;
|
---|
945 | }
|
---|
946 | /**
|
---|
947 | * @param string
|
---|
948 | */
|
---|
949 | public function setThumbnailVersion($thumbnailVersion)
|
---|
950 | {
|
---|
951 | $this->thumbnailVersion = $thumbnailVersion;
|
---|
952 | }
|
---|
953 | /**
|
---|
954 | * @return string
|
---|
955 | */
|
---|
956 | public function getThumbnailVersion()
|
---|
957 | {
|
---|
958 | return $this->thumbnailVersion;
|
---|
959 | }
|
---|
960 | /**
|
---|
961 | * @param bool
|
---|
962 | */
|
---|
963 | public function setTrashed($trashed)
|
---|
964 | {
|
---|
965 | $this->trashed = $trashed;
|
---|
966 | }
|
---|
967 | /**
|
---|
968 | * @return bool
|
---|
969 | */
|
---|
970 | public function getTrashed()
|
---|
971 | {
|
---|
972 | return $this->trashed;
|
---|
973 | }
|
---|
974 | /**
|
---|
975 | * @param string
|
---|
976 | */
|
---|
977 | public function setTrashedTime($trashedTime)
|
---|
978 | {
|
---|
979 | $this->trashedTime = $trashedTime;
|
---|
980 | }
|
---|
981 | /**
|
---|
982 | * @return string
|
---|
983 | */
|
---|
984 | public function getTrashedTime()
|
---|
985 | {
|
---|
986 | return $this->trashedTime;
|
---|
987 | }
|
---|
988 | /**
|
---|
989 | * @param User
|
---|
990 | */
|
---|
991 | public function setTrashingUser(User $trashingUser)
|
---|
992 | {
|
---|
993 | $this->trashingUser = $trashingUser;
|
---|
994 | }
|
---|
995 | /**
|
---|
996 | * @return User
|
---|
997 | */
|
---|
998 | public function getTrashingUser()
|
---|
999 | {
|
---|
1000 | return $this->trashingUser;
|
---|
1001 | }
|
---|
1002 | /**
|
---|
1003 | * @param string
|
---|
1004 | */
|
---|
1005 | public function setVersion($version)
|
---|
1006 | {
|
---|
1007 | $this->version = $version;
|
---|
1008 | }
|
---|
1009 | /**
|
---|
1010 | * @return string
|
---|
1011 | */
|
---|
1012 | public function getVersion()
|
---|
1013 | {
|
---|
1014 | return $this->version;
|
---|
1015 | }
|
---|
1016 | /**
|
---|
1017 | * @param DriveFileVideoMediaMetadata
|
---|
1018 | */
|
---|
1019 | public function setVideoMediaMetadata(DriveFileVideoMediaMetadata $videoMediaMetadata)
|
---|
1020 | {
|
---|
1021 | $this->videoMediaMetadata = $videoMediaMetadata;
|
---|
1022 | }
|
---|
1023 | /**
|
---|
1024 | * @return DriveFileVideoMediaMetadata
|
---|
1025 | */
|
---|
1026 | public function getVideoMediaMetadata()
|
---|
1027 | {
|
---|
1028 | return $this->videoMediaMetadata;
|
---|
1029 | }
|
---|
1030 | /**
|
---|
1031 | * @param bool
|
---|
1032 | */
|
---|
1033 | public function setViewedByMe($viewedByMe)
|
---|
1034 | {
|
---|
1035 | $this->viewedByMe = $viewedByMe;
|
---|
1036 | }
|
---|
1037 | /**
|
---|
1038 | * @return bool
|
---|
1039 | */
|
---|
1040 | public function getViewedByMe()
|
---|
1041 | {
|
---|
1042 | return $this->viewedByMe;
|
---|
1043 | }
|
---|
1044 | /**
|
---|
1045 | * @param string
|
---|
1046 | */
|
---|
1047 | public function setViewedByMeTime($viewedByMeTime)
|
---|
1048 | {
|
---|
1049 | $this->viewedByMeTime = $viewedByMeTime;
|
---|
1050 | }
|
---|
1051 | /**
|
---|
1052 | * @return string
|
---|
1053 | */
|
---|
1054 | public function getViewedByMeTime()
|
---|
1055 | {
|
---|
1056 | return $this->viewedByMeTime;
|
---|
1057 | }
|
---|
1058 | /**
|
---|
1059 | * @param bool
|
---|
1060 | */
|
---|
1061 | public function setViewersCanCopyContent($viewersCanCopyContent)
|
---|
1062 | {
|
---|
1063 | $this->viewersCanCopyContent = $viewersCanCopyContent;
|
---|
1064 | }
|
---|
1065 | /**
|
---|
1066 | * @return bool
|
---|
1067 | */
|
---|
1068 | public function getViewersCanCopyContent()
|
---|
1069 | {
|
---|
1070 | return $this->viewersCanCopyContent;
|
---|
1071 | }
|
---|
1072 | /**
|
---|
1073 | * @param string
|
---|
1074 | */
|
---|
1075 | public function setWebContentLink($webContentLink)
|
---|
1076 | {
|
---|
1077 | $this->webContentLink = $webContentLink;
|
---|
1078 | }
|
---|
1079 | /**
|
---|
1080 | * @return string
|
---|
1081 | */
|
---|
1082 | public function getWebContentLink()
|
---|
1083 | {
|
---|
1084 | return $this->webContentLink;
|
---|
1085 | }
|
---|
1086 | /**
|
---|
1087 | * @param string
|
---|
1088 | */
|
---|
1089 | public function setWebViewLink($webViewLink)
|
---|
1090 | {
|
---|
1091 | $this->webViewLink = $webViewLink;
|
---|
1092 | }
|
---|
1093 | /**
|
---|
1094 | * @return string
|
---|
1095 | */
|
---|
1096 | public function getWebViewLink()
|
---|
1097 | {
|
---|
1098 | return $this->webViewLink;
|
---|
1099 | }
|
---|
1100 | /**
|
---|
1101 | * @param bool
|
---|
1102 | */
|
---|
1103 | public function setWritersCanShare($writersCanShare)
|
---|
1104 | {
|
---|
1105 | $this->writersCanShare = $writersCanShare;
|
---|
1106 | }
|
---|
1107 | /**
|
---|
1108 | * @return bool
|
---|
1109 | */
|
---|
1110 | public function getWritersCanShare()
|
---|
1111 | {
|
---|
1112 | return $this->writersCanShare;
|
---|
1113 | }
|
---|
1114 | }
|
---|
1115 |
|
---|
1116 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
1117 | class_alias(DriveFile::class, 'Google_Service_Drive_DriveFile');
|
---|