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 18class Google_Service_Drive_DriveFile extends Google_Collection 19{ 20 protected $collection_key = 'spaces'; 21 public $appProperties; 22 protected $capabilitiesType = 'Google_Service_Drive_DriveFileCapabilities'; 23 protected $capabilitiesDataType = ''; 24 protected $contentHintsType = 'Google_Service_Drive_DriveFileContentHints'; 25 protected $contentHintsDataType = ''; 26 protected $contentRestrictionsType = 'Google_Service_Drive_ContentRestriction'; 27 protected $contentRestrictionsDataType = 'array'; 28 public $copyRequiresWriterPermission; 29 public $createdTime; 30 public $description; 31 public $driveId; 32 public $explicitlyTrashed; 33 public $exportLinks; 34 public $fileExtension; 35 public $folderColorRgb; 36 public $fullFileExtension; 37 public $hasAugmentedPermissions; 38 public $hasThumbnail; 39 public $headRevisionId; 40 public $iconLink; 41 public $id; 42 protected $imageMediaMetadataType = 'Google_Service_Drive_DriveFileImageMediaMetadata'; 43 protected $imageMediaMetadataDataType = ''; 44 public $isAppAuthorized; 45 public $kind; 46 protected $lastModifyingUserType = 'Google_Service_Drive_User'; 47 protected $lastModifyingUserDataType = ''; 48 public $md5Checksum; 49 public $mimeType; 50 public $modifiedByMe; 51 public $modifiedByMeTime; 52 public $modifiedTime; 53 public $name; 54 public $originalFilename; 55 public $ownedByMe; 56 protected $ownersType = 'Google_Service_Drive_User'; 57 protected $ownersDataType = 'array'; 58 public $parents; 59 public $permissionIds; 60 protected $permissionsType = 'Google_Service_Drive_Permission'; 61 protected $permissionsDataType = 'array'; 62 public $properties; 63 public $quotaBytesUsed; 64 public $shared; 65 public $sharedWithMeTime; 66 protected $sharingUserType = 'Google_Service_Drive_User'; 67 protected $sharingUserDataType = ''; 68 protected $shortcutDetailsType = 'Google_Service_Drive_DriveFileShortcutDetails'; 69 protected $shortcutDetailsDataType = ''; 70 public $size; 71 public $spaces; 72 public $starred; 73 public $teamDriveId; 74 public $thumbnailLink; 75 public $thumbnailVersion; 76 public $trashed; 77 public $trashedTime; 78 protected $trashingUserType = 'Google_Service_Drive_User'; 79 protected $trashingUserDataType = ''; 80 public $version; 81 protected $videoMediaMetadataType = 'Google_Service_Drive_DriveFileVideoMediaMetadata'; 82 protected $videoMediaMetadataDataType = ''; 83 public $viewedByMe; 84 public $viewedByMeTime; 85 public $viewersCanCopyContent; 86 public $webContentLink; 87 public $webViewLink; 88 public $writersCanShare; 89 90 public function setAppProperties($appProperties) 91 { 92 $this->appProperties = $appProperties; 93 } 94 public function getAppProperties() 95 { 96 return $this->appProperties; 97 } 98 /** 99 * @param Google_Service_Drive_DriveFileCapabilities 100 */ 101 public function setCapabilities(Google_Service_Drive_DriveFileCapabilities $capabilities) 102 { 103 $this->capabilities = $capabilities; 104 } 105 /** 106 * @return Google_Service_Drive_DriveFileCapabilities 107 */ 108 public function getCapabilities() 109 { 110 return $this->capabilities; 111 } 112 /** 113 * @param Google_Service_Drive_DriveFileContentHints 114 */ 115 public function setContentHints(Google_Service_Drive_DriveFileContentHints $contentHints) 116 { 117 $this->contentHints = $contentHints; 118 } 119 /** 120 * @return Google_Service_Drive_DriveFileContentHints 121 */ 122 public function getContentHints() 123 { 124 return $this->contentHints; 125 } 126 /** 127 * @param Google_Service_Drive_ContentRestriction[] 128 */ 129 public function setContentRestrictions($contentRestrictions) 130 { 131 $this->contentRestrictions = $contentRestrictions; 132 } 133 /** 134 * @return Google_Service_Drive_ContentRestriction[] 135 */ 136 public function getContentRestrictions() 137 { 138 return $this->contentRestrictions; 139 } 140 public function setCopyRequiresWriterPermission($copyRequiresWriterPermission) 141 { 142 $this->copyRequiresWriterPermission = $copyRequiresWriterPermission; 143 } 144 public function getCopyRequiresWriterPermission() 145 { 146 return $this->copyRequiresWriterPermission; 147 } 148 public function setCreatedTime($createdTime) 149 { 150 $this->createdTime = $createdTime; 151 } 152 public function getCreatedTime() 153 { 154 return $this->createdTime; 155 } 156 public function setDescription($description) 157 { 158 $this->description = $description; 159 } 160 public function getDescription() 161 { 162 return $this->description; 163 } 164 public function setDriveId($driveId) 165 { 166 $this->driveId = $driveId; 167 } 168 public function getDriveId() 169 { 170 return $this->driveId; 171 } 172 public function setExplicitlyTrashed($explicitlyTrashed) 173 { 174 $this->explicitlyTrashed = $explicitlyTrashed; 175 } 176 public function getExplicitlyTrashed() 177 { 178 return $this->explicitlyTrashed; 179 } 180 public function setExportLinks($exportLinks) 181 { 182 $this->exportLinks = $exportLinks; 183 } 184 public function getExportLinks() 185 { 186 return $this->exportLinks; 187 } 188 public function setFileExtension($fileExtension) 189 { 190 $this->fileExtension = $fileExtension; 191 } 192 public function getFileExtension() 193 { 194 return $this->fileExtension; 195 } 196 public function setFolderColorRgb($folderColorRgb) 197 { 198 $this->folderColorRgb = $folderColorRgb; 199 } 200 public function getFolderColorRgb() 201 { 202 return $this->folderColorRgb; 203 } 204 public function setFullFileExtension($fullFileExtension) 205 { 206 $this->fullFileExtension = $fullFileExtension; 207 } 208 public function getFullFileExtension() 209 { 210 return $this->fullFileExtension; 211 } 212 public function setHasAugmentedPermissions($hasAugmentedPermissions) 213 { 214 $this->hasAugmentedPermissions = $hasAugmentedPermissions; 215 } 216 public function getHasAugmentedPermissions() 217 { 218 return $this->hasAugmentedPermissions; 219 } 220 public function setHasThumbnail($hasThumbnail) 221 { 222 $this->hasThumbnail = $hasThumbnail; 223 } 224 public function getHasThumbnail() 225 { 226 return $this->hasThumbnail; 227 } 228 public function setHeadRevisionId($headRevisionId) 229 { 230 $this->headRevisionId = $headRevisionId; 231 } 232 public function getHeadRevisionId() 233 { 234 return $this->headRevisionId; 235 } 236 public function setIconLink($iconLink) 237 { 238 $this->iconLink = $iconLink; 239 } 240 public function getIconLink() 241 { 242 return $this->iconLink; 243 } 244 public function setId($id) 245 { 246 $this->id = $id; 247 } 248 public function getId() 249 { 250 return $this->id; 251 } 252 /** 253 * @param Google_Service_Drive_DriveFileImageMediaMetadata 254 */ 255 public function setImageMediaMetadata(Google_Service_Drive_DriveFileImageMediaMetadata $imageMediaMetadata) 256 { 257 $this->imageMediaMetadata = $imageMediaMetadata; 258 } 259 /** 260 * @return Google_Service_Drive_DriveFileImageMediaMetadata 261 */ 262 public function getImageMediaMetadata() 263 { 264 return $this->imageMediaMetadata; 265 } 266 public function setIsAppAuthorized($isAppAuthorized) 267 { 268 $this->isAppAuthorized = $isAppAuthorized; 269 } 270 public function getIsAppAuthorized() 271 { 272 return $this->isAppAuthorized; 273 } 274 public function setKind($kind) 275 { 276 $this->kind = $kind; 277 } 278 public function getKind() 279 { 280 return $this->kind; 281 } 282 /** 283 * @param Google_Service_Drive_User 284 */ 285 public function setLastModifyingUser(Google_Service_Drive_User $lastModifyingUser) 286 { 287 $this->lastModifyingUser = $lastModifyingUser; 288 } 289 /** 290 * @return Google_Service_Drive_User 291 */ 292 public function getLastModifyingUser() 293 { 294 return $this->lastModifyingUser; 295 } 296 public function setMd5Checksum($md5Checksum) 297 { 298 $this->md5Checksum = $md5Checksum; 299 } 300 public function getMd5Checksum() 301 { 302 return $this->md5Checksum; 303 } 304 public function setMimeType($mimeType) 305 { 306 $this->mimeType = $mimeType; 307 } 308 public function getMimeType() 309 { 310 return $this->mimeType; 311 } 312 public function setModifiedByMe($modifiedByMe) 313 { 314 $this->modifiedByMe = $modifiedByMe; 315 } 316 public function getModifiedByMe() 317 { 318 return $this->modifiedByMe; 319 } 320 public function setModifiedByMeTime($modifiedByMeTime) 321 { 322 $this->modifiedByMeTime = $modifiedByMeTime; 323 } 324 public function getModifiedByMeTime() 325 { 326 return $this->modifiedByMeTime; 327 } 328 public function setModifiedTime($modifiedTime) 329 { 330 $this->modifiedTime = $modifiedTime; 331 } 332 public function getModifiedTime() 333 { 334 return $this->modifiedTime; 335 } 336 public function setName($name) 337 { 338 $this->name = $name; 339 } 340 public function getName() 341 { 342 return $this->name; 343 } 344 public function setOriginalFilename($originalFilename) 345 { 346 $this->originalFilename = $originalFilename; 347 } 348 public function getOriginalFilename() 349 { 350 return $this->originalFilename; 351 } 352 public function setOwnedByMe($ownedByMe) 353 { 354 $this->ownedByMe = $ownedByMe; 355 } 356 public function getOwnedByMe() 357 { 358 return $this->ownedByMe; 359 } 360 /** 361 * @param Google_Service_Drive_User[] 362 */ 363 public function setOwners($owners) 364 { 365 $this->owners = $owners; 366 } 367 /** 368 * @return Google_Service_Drive_User[] 369 */ 370 public function getOwners() 371 { 372 return $this->owners; 373 } 374 public function setParents($parents) 375 { 376 $this->parents = $parents; 377 } 378 public function getParents() 379 { 380 return $this->parents; 381 } 382 public function setPermissionIds($permissionIds) 383 { 384 $this->permissionIds = $permissionIds; 385 } 386 public function getPermissionIds() 387 { 388 return $this->permissionIds; 389 } 390 /** 391 * @param Google_Service_Drive_Permission[] 392 */ 393 public function setPermissions($permissions) 394 { 395 $this->permissions = $permissions; 396 } 397 /** 398 * @return Google_Service_Drive_Permission[] 399 */ 400 public function getPermissions() 401 { 402 return $this->permissions; 403 } 404 public function setProperties($properties) 405 { 406 $this->properties = $properties; 407 } 408 public function getProperties() 409 { 410 return $this->properties; 411 } 412 public function setQuotaBytesUsed($quotaBytesUsed) 413 { 414 $this->quotaBytesUsed = $quotaBytesUsed; 415 } 416 public function getQuotaBytesUsed() 417 { 418 return $this->quotaBytesUsed; 419 } 420 public function setShared($shared) 421 { 422 $this->shared = $shared; 423 } 424 public function getShared() 425 { 426 return $this->shared; 427 } 428 public function setSharedWithMeTime($sharedWithMeTime) 429 { 430 $this->sharedWithMeTime = $sharedWithMeTime; 431 } 432 public function getSharedWithMeTime() 433 { 434 return $this->sharedWithMeTime; 435 } 436 /** 437 * @param Google_Service_Drive_User 438 */ 439 public function setSharingUser(Google_Service_Drive_User $sharingUser) 440 { 441 $this->sharingUser = $sharingUser; 442 } 443 /** 444 * @return Google_Service_Drive_User 445 */ 446 public function getSharingUser() 447 { 448 return $this->sharingUser; 449 } 450 /** 451 * @param Google_Service_Drive_DriveFileShortcutDetails 452 */ 453 public function setShortcutDetails(Google_Service_Drive_DriveFileShortcutDetails $shortcutDetails) 454 { 455 $this->shortcutDetails = $shortcutDetails; 456 } 457 /** 458 * @return Google_Service_Drive_DriveFileShortcutDetails 459 */ 460 public function getShortcutDetails() 461 { 462 return $this->shortcutDetails; 463 } 464 public function setSize($size) 465 { 466 $this->size = $size; 467 } 468 public function getSize() 469 { 470 return $this->size; 471 } 472 public function setSpaces($spaces) 473 { 474 $this->spaces = $spaces; 475 } 476 public function getSpaces() 477 { 478 return $this->spaces; 479 } 480 public function setStarred($starred) 481 { 482 $this->starred = $starred; 483 } 484 public function getStarred() 485 { 486 return $this->starred; 487 } 488 public function setTeamDriveId($teamDriveId) 489 { 490 $this->teamDriveId = $teamDriveId; 491 } 492 public function getTeamDriveId() 493 { 494 return $this->teamDriveId; 495 } 496 public function setThumbnailLink($thumbnailLink) 497 { 498 $this->thumbnailLink = $thumbnailLink; 499 } 500 public function getThumbnailLink() 501 { 502 return $this->thumbnailLink; 503 } 504 public function setThumbnailVersion($thumbnailVersion) 505 { 506 $this->thumbnailVersion = $thumbnailVersion; 507 } 508 public function getThumbnailVersion() 509 { 510 return $this->thumbnailVersion; 511 } 512 public function setTrashed($trashed) 513 { 514 $this->trashed = $trashed; 515 } 516 public function getTrashed() 517 { 518 return $this->trashed; 519 } 520 public function setTrashedTime($trashedTime) 521 { 522 $this->trashedTime = $trashedTime; 523 } 524 public function getTrashedTime() 525 { 526 return $this->trashedTime; 527 } 528 /** 529 * @param Google_Service_Drive_User 530 */ 531 public function setTrashingUser(Google_Service_Drive_User $trashingUser) 532 { 533 $this->trashingUser = $trashingUser; 534 } 535 /** 536 * @return Google_Service_Drive_User 537 */ 538 public function getTrashingUser() 539 { 540 return $this->trashingUser; 541 } 542 public function setVersion($version) 543 { 544 $this->version = $version; 545 } 546 public function getVersion() 547 { 548 return $this->version; 549 } 550 /** 551 * @param Google_Service_Drive_DriveFileVideoMediaMetadata 552 */ 553 public function setVideoMediaMetadata(Google_Service_Drive_DriveFileVideoMediaMetadata $videoMediaMetadata) 554 { 555 $this->videoMediaMetadata = $videoMediaMetadata; 556 } 557 /** 558 * @return Google_Service_Drive_DriveFileVideoMediaMetadata 559 */ 560 public function getVideoMediaMetadata() 561 { 562 return $this->videoMediaMetadata; 563 } 564 public function setViewedByMe($viewedByMe) 565 { 566 $this->viewedByMe = $viewedByMe; 567 } 568 public function getViewedByMe() 569 { 570 return $this->viewedByMe; 571 } 572 public function setViewedByMeTime($viewedByMeTime) 573 { 574 $this->viewedByMeTime = $viewedByMeTime; 575 } 576 public function getViewedByMeTime() 577 { 578 return $this->viewedByMeTime; 579 } 580 public function setViewersCanCopyContent($viewersCanCopyContent) 581 { 582 $this->viewersCanCopyContent = $viewersCanCopyContent; 583 } 584 public function getViewersCanCopyContent() 585 { 586 return $this->viewersCanCopyContent; 587 } 588 public function setWebContentLink($webContentLink) 589 { 590 $this->webContentLink = $webContentLink; 591 } 592 public function getWebContentLink() 593 { 594 return $this->webContentLink; 595 } 596 public function setWebViewLink($webViewLink) 597 { 598 $this->webViewLink = $webViewLink; 599 } 600 public function getWebViewLink() 601 { 602 return $this->webViewLink; 603 } 604 public function setWritersCanShare($writersCanShare) 605 { 606 $this->writersCanShare = $writersCanShare; 607 } 608 public function getWritersCanShare() 609 { 610 return $this->writersCanShare; 611 } 612} 613