[f9c482b] | 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\CloudSearch;
|
---|
| 19 |
|
---|
| 20 | class DriveMetadata extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $aclFixRequestType = AclFixRequest::class;
|
---|
| 23 | protected $aclFixRequestDataType = '';
|
---|
| 24 | protected $aclFixStatusType = AclFixStatus::class;
|
---|
| 25 | protected $aclFixStatusDataType = '';
|
---|
| 26 | /**
|
---|
| 27 | * @var bool
|
---|
| 28 | */
|
---|
| 29 | public $canEdit;
|
---|
| 30 | /**
|
---|
| 31 | * @var bool
|
---|
| 32 | */
|
---|
| 33 | public $canShare;
|
---|
| 34 | /**
|
---|
| 35 | * @var bool
|
---|
| 36 | */
|
---|
| 37 | public $canView;
|
---|
| 38 | /**
|
---|
| 39 | * @var string
|
---|
| 40 | */
|
---|
| 41 | public $driveAction;
|
---|
| 42 | /**
|
---|
| 43 | * @var string
|
---|
| 44 | */
|
---|
| 45 | public $driveState;
|
---|
| 46 | protected $embedUrlType = TrustedResourceUrlProto::class;
|
---|
| 47 | protected $embedUrlDataType = '';
|
---|
| 48 | /**
|
---|
| 49 | * @var bool
|
---|
| 50 | */
|
---|
| 51 | public $encryptedDocId;
|
---|
| 52 | /**
|
---|
| 53 | * @var string
|
---|
| 54 | */
|
---|
| 55 | public $encryptedResourceKey;
|
---|
| 56 | /**
|
---|
| 57 | * @var string
|
---|
| 58 | */
|
---|
| 59 | public $externalMimetype;
|
---|
| 60 | /**
|
---|
| 61 | * @var string
|
---|
| 62 | */
|
---|
| 63 | public $id;
|
---|
| 64 | /**
|
---|
| 65 | * @var bool
|
---|
| 66 | */
|
---|
| 67 | public $isDownloadRestricted;
|
---|
| 68 | /**
|
---|
| 69 | * @var bool
|
---|
| 70 | */
|
---|
| 71 | public $isOwner;
|
---|
| 72 | protected $legacyUploadMetadataType = LegacyUploadMetadata::class;
|
---|
| 73 | protected $legacyUploadMetadataDataType = '';
|
---|
| 74 | /**
|
---|
| 75 | * @var string
|
---|
| 76 | */
|
---|
| 77 | public $mimetype;
|
---|
| 78 | /**
|
---|
| 79 | * @var string
|
---|
| 80 | */
|
---|
| 81 | public $organizationDisplayName;
|
---|
| 82 | protected $shortcutAuthorizedItemIdType = AuthorizedItemId::class;
|
---|
| 83 | protected $shortcutAuthorizedItemIdDataType = '';
|
---|
| 84 | /**
|
---|
| 85 | * @var bool
|
---|
| 86 | */
|
---|
| 87 | public $shouldNotRender;
|
---|
| 88 | /**
|
---|
| 89 | * @var int
|
---|
| 90 | */
|
---|
| 91 | public $thumbnailHeight;
|
---|
| 92 | /**
|
---|
| 93 | * @var string
|
---|
| 94 | */
|
---|
| 95 | public $thumbnailUrl;
|
---|
| 96 | /**
|
---|
| 97 | * @var int
|
---|
| 98 | */
|
---|
| 99 | public $thumbnailWidth;
|
---|
| 100 | /**
|
---|
| 101 | * @var string
|
---|
| 102 | */
|
---|
| 103 | public $title;
|
---|
| 104 | /**
|
---|
| 105 | * @var string
|
---|
| 106 | */
|
---|
| 107 | public $urlFragment;
|
---|
| 108 | protected $wrappedResourceKeyType = WrappedResourceKey::class;
|
---|
| 109 | protected $wrappedResourceKeyDataType = '';
|
---|
| 110 |
|
---|
| 111 | /**
|
---|
| 112 | * @param AclFixRequest
|
---|
| 113 | */
|
---|
| 114 | public function setAclFixRequest(AclFixRequest $aclFixRequest)
|
---|
| 115 | {
|
---|
| 116 | $this->aclFixRequest = $aclFixRequest;
|
---|
| 117 | }
|
---|
| 118 | /**
|
---|
| 119 | * @return AclFixRequest
|
---|
| 120 | */
|
---|
| 121 | public function getAclFixRequest()
|
---|
| 122 | {
|
---|
| 123 | return $this->aclFixRequest;
|
---|
| 124 | }
|
---|
| 125 | /**
|
---|
| 126 | * @param AclFixStatus
|
---|
| 127 | */
|
---|
| 128 | public function setAclFixStatus(AclFixStatus $aclFixStatus)
|
---|
| 129 | {
|
---|
| 130 | $this->aclFixStatus = $aclFixStatus;
|
---|
| 131 | }
|
---|
| 132 | /**
|
---|
| 133 | * @return AclFixStatus
|
---|
| 134 | */
|
---|
| 135 | public function getAclFixStatus()
|
---|
| 136 | {
|
---|
| 137 | return $this->aclFixStatus;
|
---|
| 138 | }
|
---|
| 139 | /**
|
---|
| 140 | * @param bool
|
---|
| 141 | */
|
---|
| 142 | public function setCanEdit($canEdit)
|
---|
| 143 | {
|
---|
| 144 | $this->canEdit = $canEdit;
|
---|
| 145 | }
|
---|
| 146 | /**
|
---|
| 147 | * @return bool
|
---|
| 148 | */
|
---|
| 149 | public function getCanEdit()
|
---|
| 150 | {
|
---|
| 151 | return $this->canEdit;
|
---|
| 152 | }
|
---|
| 153 | /**
|
---|
| 154 | * @param bool
|
---|
| 155 | */
|
---|
| 156 | public function setCanShare($canShare)
|
---|
| 157 | {
|
---|
| 158 | $this->canShare = $canShare;
|
---|
| 159 | }
|
---|
| 160 | /**
|
---|
| 161 | * @return bool
|
---|
| 162 | */
|
---|
| 163 | public function getCanShare()
|
---|
| 164 | {
|
---|
| 165 | return $this->canShare;
|
---|
| 166 | }
|
---|
| 167 | /**
|
---|
| 168 | * @param bool
|
---|
| 169 | */
|
---|
| 170 | public function setCanView($canView)
|
---|
| 171 | {
|
---|
| 172 | $this->canView = $canView;
|
---|
| 173 | }
|
---|
| 174 | /**
|
---|
| 175 | * @return bool
|
---|
| 176 | */
|
---|
| 177 | public function getCanView()
|
---|
| 178 | {
|
---|
| 179 | return $this->canView;
|
---|
| 180 | }
|
---|
| 181 | /**
|
---|
| 182 | * @param string
|
---|
| 183 | */
|
---|
| 184 | public function setDriveAction($driveAction)
|
---|
| 185 | {
|
---|
| 186 | $this->driveAction = $driveAction;
|
---|
| 187 | }
|
---|
| 188 | /**
|
---|
| 189 | * @return string
|
---|
| 190 | */
|
---|
| 191 | public function getDriveAction()
|
---|
| 192 | {
|
---|
| 193 | return $this->driveAction;
|
---|
| 194 | }
|
---|
| 195 | /**
|
---|
| 196 | * @param string
|
---|
| 197 | */
|
---|
| 198 | public function setDriveState($driveState)
|
---|
| 199 | {
|
---|
| 200 | $this->driveState = $driveState;
|
---|
| 201 | }
|
---|
| 202 | /**
|
---|
| 203 | * @return string
|
---|
| 204 | */
|
---|
| 205 | public function getDriveState()
|
---|
| 206 | {
|
---|
| 207 | return $this->driveState;
|
---|
| 208 | }
|
---|
| 209 | /**
|
---|
| 210 | * @param TrustedResourceUrlProto
|
---|
| 211 | */
|
---|
| 212 | public function setEmbedUrl(TrustedResourceUrlProto $embedUrl)
|
---|
| 213 | {
|
---|
| 214 | $this->embedUrl = $embedUrl;
|
---|
| 215 | }
|
---|
| 216 | /**
|
---|
| 217 | * @return TrustedResourceUrlProto
|
---|
| 218 | */
|
---|
| 219 | public function getEmbedUrl()
|
---|
| 220 | {
|
---|
| 221 | return $this->embedUrl;
|
---|
| 222 | }
|
---|
| 223 | /**
|
---|
| 224 | * @param bool
|
---|
| 225 | */
|
---|
| 226 | public function setEncryptedDocId($encryptedDocId)
|
---|
| 227 | {
|
---|
| 228 | $this->encryptedDocId = $encryptedDocId;
|
---|
| 229 | }
|
---|
| 230 | /**
|
---|
| 231 | * @return bool
|
---|
| 232 | */
|
---|
| 233 | public function getEncryptedDocId()
|
---|
| 234 | {
|
---|
| 235 | return $this->encryptedDocId;
|
---|
| 236 | }
|
---|
| 237 | /**
|
---|
| 238 | * @param string
|
---|
| 239 | */
|
---|
| 240 | public function setEncryptedResourceKey($encryptedResourceKey)
|
---|
| 241 | {
|
---|
| 242 | $this->encryptedResourceKey = $encryptedResourceKey;
|
---|
| 243 | }
|
---|
| 244 | /**
|
---|
| 245 | * @return string
|
---|
| 246 | */
|
---|
| 247 | public function getEncryptedResourceKey()
|
---|
| 248 | {
|
---|
| 249 | return $this->encryptedResourceKey;
|
---|
| 250 | }
|
---|
| 251 | /**
|
---|
| 252 | * @param string
|
---|
| 253 | */
|
---|
| 254 | public function setExternalMimetype($externalMimetype)
|
---|
| 255 | {
|
---|
| 256 | $this->externalMimetype = $externalMimetype;
|
---|
| 257 | }
|
---|
| 258 | /**
|
---|
| 259 | * @return string
|
---|
| 260 | */
|
---|
| 261 | public function getExternalMimetype()
|
---|
| 262 | {
|
---|
| 263 | return $this->externalMimetype;
|
---|
| 264 | }
|
---|
| 265 | /**
|
---|
| 266 | * @param string
|
---|
| 267 | */
|
---|
| 268 | public function setId($id)
|
---|
| 269 | {
|
---|
| 270 | $this->id = $id;
|
---|
| 271 | }
|
---|
| 272 | /**
|
---|
| 273 | * @return string
|
---|
| 274 | */
|
---|
| 275 | public function getId()
|
---|
| 276 | {
|
---|
| 277 | return $this->id;
|
---|
| 278 | }
|
---|
| 279 | /**
|
---|
| 280 | * @param bool
|
---|
| 281 | */
|
---|
| 282 | public function setIsDownloadRestricted($isDownloadRestricted)
|
---|
| 283 | {
|
---|
| 284 | $this->isDownloadRestricted = $isDownloadRestricted;
|
---|
| 285 | }
|
---|
| 286 | /**
|
---|
| 287 | * @return bool
|
---|
| 288 | */
|
---|
| 289 | public function getIsDownloadRestricted()
|
---|
| 290 | {
|
---|
| 291 | return $this->isDownloadRestricted;
|
---|
| 292 | }
|
---|
| 293 | /**
|
---|
| 294 | * @param bool
|
---|
| 295 | */
|
---|
| 296 | public function setIsOwner($isOwner)
|
---|
| 297 | {
|
---|
| 298 | $this->isOwner = $isOwner;
|
---|
| 299 | }
|
---|
| 300 | /**
|
---|
| 301 | * @return bool
|
---|
| 302 | */
|
---|
| 303 | public function getIsOwner()
|
---|
| 304 | {
|
---|
| 305 | return $this->isOwner;
|
---|
| 306 | }
|
---|
| 307 | /**
|
---|
| 308 | * @param LegacyUploadMetadata
|
---|
| 309 | */
|
---|
| 310 | public function setLegacyUploadMetadata(LegacyUploadMetadata $legacyUploadMetadata)
|
---|
| 311 | {
|
---|
| 312 | $this->legacyUploadMetadata = $legacyUploadMetadata;
|
---|
| 313 | }
|
---|
| 314 | /**
|
---|
| 315 | * @return LegacyUploadMetadata
|
---|
| 316 | */
|
---|
| 317 | public function getLegacyUploadMetadata()
|
---|
| 318 | {
|
---|
| 319 | return $this->legacyUploadMetadata;
|
---|
| 320 | }
|
---|
| 321 | /**
|
---|
| 322 | * @param string
|
---|
| 323 | */
|
---|
| 324 | public function setMimetype($mimetype)
|
---|
| 325 | {
|
---|
| 326 | $this->mimetype = $mimetype;
|
---|
| 327 | }
|
---|
| 328 | /**
|
---|
| 329 | * @return string
|
---|
| 330 | */
|
---|
| 331 | public function getMimetype()
|
---|
| 332 | {
|
---|
| 333 | return $this->mimetype;
|
---|
| 334 | }
|
---|
| 335 | /**
|
---|
| 336 | * @param string
|
---|
| 337 | */
|
---|
| 338 | public function setOrganizationDisplayName($organizationDisplayName)
|
---|
| 339 | {
|
---|
| 340 | $this->organizationDisplayName = $organizationDisplayName;
|
---|
| 341 | }
|
---|
| 342 | /**
|
---|
| 343 | * @return string
|
---|
| 344 | */
|
---|
| 345 | public function getOrganizationDisplayName()
|
---|
| 346 | {
|
---|
| 347 | return $this->organizationDisplayName;
|
---|
| 348 | }
|
---|
| 349 | /**
|
---|
| 350 | * @param AuthorizedItemId
|
---|
| 351 | */
|
---|
| 352 | public function setShortcutAuthorizedItemId(AuthorizedItemId $shortcutAuthorizedItemId)
|
---|
| 353 | {
|
---|
| 354 | $this->shortcutAuthorizedItemId = $shortcutAuthorizedItemId;
|
---|
| 355 | }
|
---|
| 356 | /**
|
---|
| 357 | * @return AuthorizedItemId
|
---|
| 358 | */
|
---|
| 359 | public function getShortcutAuthorizedItemId()
|
---|
| 360 | {
|
---|
| 361 | return $this->shortcutAuthorizedItemId;
|
---|
| 362 | }
|
---|
| 363 | /**
|
---|
| 364 | * @param bool
|
---|
| 365 | */
|
---|
| 366 | public function setShouldNotRender($shouldNotRender)
|
---|
| 367 | {
|
---|
| 368 | $this->shouldNotRender = $shouldNotRender;
|
---|
| 369 | }
|
---|
| 370 | /**
|
---|
| 371 | * @return bool
|
---|
| 372 | */
|
---|
| 373 | public function getShouldNotRender()
|
---|
| 374 | {
|
---|
| 375 | return $this->shouldNotRender;
|
---|
| 376 | }
|
---|
| 377 | /**
|
---|
| 378 | * @param int
|
---|
| 379 | */
|
---|
| 380 | public function setThumbnailHeight($thumbnailHeight)
|
---|
| 381 | {
|
---|
| 382 | $this->thumbnailHeight = $thumbnailHeight;
|
---|
| 383 | }
|
---|
| 384 | /**
|
---|
| 385 | * @return int
|
---|
| 386 | */
|
---|
| 387 | public function getThumbnailHeight()
|
---|
| 388 | {
|
---|
| 389 | return $this->thumbnailHeight;
|
---|
| 390 | }
|
---|
| 391 | /**
|
---|
| 392 | * @param string
|
---|
| 393 | */
|
---|
| 394 | public function setThumbnailUrl($thumbnailUrl)
|
---|
| 395 | {
|
---|
| 396 | $this->thumbnailUrl = $thumbnailUrl;
|
---|
| 397 | }
|
---|
| 398 | /**
|
---|
| 399 | * @return string
|
---|
| 400 | */
|
---|
| 401 | public function getThumbnailUrl()
|
---|
| 402 | {
|
---|
| 403 | return $this->thumbnailUrl;
|
---|
| 404 | }
|
---|
| 405 | /**
|
---|
| 406 | * @param int
|
---|
| 407 | */
|
---|
| 408 | public function setThumbnailWidth($thumbnailWidth)
|
---|
| 409 | {
|
---|
| 410 | $this->thumbnailWidth = $thumbnailWidth;
|
---|
| 411 | }
|
---|
| 412 | /**
|
---|
| 413 | * @return int
|
---|
| 414 | */
|
---|
| 415 | public function getThumbnailWidth()
|
---|
| 416 | {
|
---|
| 417 | return $this->thumbnailWidth;
|
---|
| 418 | }
|
---|
| 419 | /**
|
---|
| 420 | * @param string
|
---|
| 421 | */
|
---|
| 422 | public function setTitle($title)
|
---|
| 423 | {
|
---|
| 424 | $this->title = $title;
|
---|
| 425 | }
|
---|
| 426 | /**
|
---|
| 427 | * @return string
|
---|
| 428 | */
|
---|
| 429 | public function getTitle()
|
---|
| 430 | {
|
---|
| 431 | return $this->title;
|
---|
| 432 | }
|
---|
| 433 | /**
|
---|
| 434 | * @param string
|
---|
| 435 | */
|
---|
| 436 | public function setUrlFragment($urlFragment)
|
---|
| 437 | {
|
---|
| 438 | $this->urlFragment = $urlFragment;
|
---|
| 439 | }
|
---|
| 440 | /**
|
---|
| 441 | * @return string
|
---|
| 442 | */
|
---|
| 443 | public function getUrlFragment()
|
---|
| 444 | {
|
---|
| 445 | return $this->urlFragment;
|
---|
| 446 | }
|
---|
| 447 | /**
|
---|
| 448 | * @param WrappedResourceKey
|
---|
| 449 | */
|
---|
| 450 | public function setWrappedResourceKey(WrappedResourceKey $wrappedResourceKey)
|
---|
| 451 | {
|
---|
| 452 | $this->wrappedResourceKey = $wrappedResourceKey;
|
---|
| 453 | }
|
---|
| 454 | /**
|
---|
| 455 | * @return WrappedResourceKey
|
---|
| 456 | */
|
---|
| 457 | public function getWrappedResourceKey()
|
---|
| 458 | {
|
---|
| 459 | return $this->wrappedResourceKey;
|
---|
| 460 | }
|
---|
| 461 | }
|
---|
| 462 |
|
---|
| 463 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 464 | class_alias(DriveMetadata::class, 'Google_Service_CloudSearch_DriveMetadata');
|
---|