| 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 |
namespace wpCloud\StatelessMedia\Google_Client; |
| 18 |
|
| 19 |
class Google_Service_Storage_StorageObject extends Google_Collection |
| 20 |
{ |
| 21 |
protected $collection_key = 'acl'; |
| 22 |
protected $aclType = 'Google_Service_Storage_ObjectAccessControl'; |
| 23 |
protected $aclDataType = 'array'; |
| 24 |
public $bucket; |
| 25 |
public $cacheControl; |
| 26 |
public $componentCount; |
| 27 |
public $contentDisposition; |
| 28 |
public $contentEncoding; |
| 29 |
public $contentLanguage; |
| 30 |
public $contentType; |
| 31 |
public $crc32c; |
| 32 |
protected $customerEncryptionType = 'Google_Service_Storage_StorageObjectCustomerEncryption'; |
| 33 |
protected $customerEncryptionDataType = ''; |
| 34 |
public $etag; |
| 35 |
public $eventBasedHold; |
| 36 |
public $generation; |
| 37 |
public $id; |
| 38 |
public $kind; |
| 39 |
public $kmsKeyName; |
| 40 |
public $md5Hash; |
| 41 |
public $mediaLink; |
| 42 |
public $metadata; |
| 43 |
public $metageneration; |
| 44 |
public $name; |
| 45 |
protected $ownerType = 'Google_Service_Storage_StorageObjectOwner'; |
| 46 |
protected $ownerDataType = ''; |
| 47 |
public $retentionExpirationTime; |
| 48 |
public $selfLink; |
| 49 |
public $size; |
| 50 |
public $storageClass; |
| 51 |
public $temporaryHold; |
| 52 |
public $timeCreated; |
| 53 |
public $timeDeleted; |
| 54 |
public $timeStorageClassUpdated; |
| 55 |
public $updated; |
| 56 |
|
| 57 |
/** |
| 58 |
* @param Google_Service_Storage_ObjectAccessControl |
| 59 |
*/ |
| 60 |
public function setAcl($acl) |
| 61 |
{ |
| 62 |
$this->acl = $acl; |
| 63 |
} |
| 64 |
/** |
| 65 |
* @return Google_Service_Storage_ObjectAccessControl |
| 66 |
*/ |
| 67 |
public function getAcl() |
| 68 |
{ |
| 69 |
return $this->acl; |
| 70 |
} |
| 71 |
public function setBucket($bucket) |
| 72 |
{ |
| 73 |
$this->bucket = $bucket; |
| 74 |
} |
| 75 |
public function getBucket() |
| 76 |
{ |
| 77 |
return $this->bucket; |
| 78 |
} |
| 79 |
public function setCacheControl($cacheControl) |
| 80 |
{ |
| 81 |
$this->cacheControl = $cacheControl; |
| 82 |
} |
| 83 |
public function getCacheControl() |
| 84 |
{ |
| 85 |
return $this->cacheControl; |
| 86 |
} |
| 87 |
public function setComponentCount($componentCount) |
| 88 |
{ |
| 89 |
$this->componentCount = $componentCount; |
| 90 |
} |
| 91 |
public function getComponentCount() |
| 92 |
{ |
| 93 |
return $this->componentCount; |
| 94 |
} |
| 95 |
public function setContentDisposition($contentDisposition) |
| 96 |
{ |
| 97 |
$this->contentDisposition = $contentDisposition; |
| 98 |
} |
| 99 |
public function getContentDisposition() |
| 100 |
{ |
| 101 |
return $this->contentDisposition; |
| 102 |
} |
| 103 |
public function setContentEncoding($contentEncoding) |
| 104 |
{ |
| 105 |
$this->contentEncoding = $contentEncoding; |
| 106 |
} |
| 107 |
public function getContentEncoding() |
| 108 |
{ |
| 109 |
return $this->contentEncoding; |
| 110 |
} |
| 111 |
public function setContentLanguage($contentLanguage) |
| 112 |
{ |
| 113 |
$this->contentLanguage = $contentLanguage; |
| 114 |
} |
| 115 |
public function getContentLanguage() |
| 116 |
{ |
| 117 |
return $this->contentLanguage; |
| 118 |
} |
| 119 |
public function setContentType($contentType) |
| 120 |
{ |
| 121 |
$this->contentType = $contentType; |
| 122 |
} |
| 123 |
public function getContentType() |
| 124 |
{ |
| 125 |
return $this->contentType; |
| 126 |
} |
| 127 |
public function setCrc32c($crc32c) |
| 128 |
{ |
| 129 |
$this->crc32c = $crc32c; |
| 130 |
} |
| 131 |
public function getCrc32c() |
| 132 |
{ |
| 133 |
return $this->crc32c; |
| 134 |
} |
| 135 |
/** |
| 136 |
* @param Google_Service_Storage_StorageObjectCustomerEncryption |
| 137 |
*/ |
| 138 |
public function setCustomerEncryption(Google_Service_Storage_StorageObjectCustomerEncryption $customerEncryption) |
| 139 |
{ |
| 140 |
$this->customerEncryption = $customerEncryption; |
| 141 |
} |
| 142 |
/** |
| 143 |
* @return Google_Service_Storage_StorageObjectCustomerEncryption |
| 144 |
*/ |
| 145 |
public function getCustomerEncryption() |
| 146 |
{ |
| 147 |
return $this->customerEncryption; |
| 148 |
} |
| 149 |
public function setEtag($etag) |
| 150 |
{ |
| 151 |
$this->etag = $etag; |
| 152 |
} |
| 153 |
public function getEtag() |
| 154 |
{ |
| 155 |
return $this->etag; |
| 156 |
} |
| 157 |
public function setEventBasedHold($eventBasedHold) |
| 158 |
{ |
| 159 |
$this->eventBasedHold = $eventBasedHold; |
| 160 |
} |
| 161 |
public function getEventBasedHold() |
| 162 |
{ |
| 163 |
return $this->eventBasedHold; |
| 164 |
} |
| 165 |
public function setGeneration($generation) |
| 166 |
{ |
| 167 |
$this->generation = $generation; |
| 168 |
} |
| 169 |
public function getGeneration() |
| 170 |
{ |
| 171 |
return $this->generation; |
| 172 |
} |
| 173 |
public function setId($id) |
| 174 |
{ |
| 175 |
$this->id = $id; |
| 176 |
} |
| 177 |
public function getId() |
| 178 |
{ |
| 179 |
return $this->id; |
| 180 |
} |
| 181 |
public function setKind($kind) |
| 182 |
{ |
| 183 |
$this->kind = $kind; |
| 184 |
} |
| 185 |
public function getKind() |
| 186 |
{ |
| 187 |
return $this->kind; |
| 188 |
} |
| 189 |
public function setKmsKeyName($kmsKeyName) |
| 190 |
{ |
| 191 |
$this->kmsKeyName = $kmsKeyName; |
| 192 |
} |
| 193 |
public function getKmsKeyName() |
| 194 |
{ |
| 195 |
return $this->kmsKeyName; |
| 196 |
} |
| 197 |
public function setMd5Hash($md5Hash) |
| 198 |
{ |
| 199 |
$this->md5Hash = $md5Hash; |
| 200 |
} |
| 201 |
public function getMd5Hash() |
| 202 |
{ |
| 203 |
return $this->md5Hash; |
| 204 |
} |
| 205 |
public function setMediaLink($mediaLink) |
| 206 |
{ |
| 207 |
$this->mediaLink = $mediaLink; |
| 208 |
} |
| 209 |
public function getMediaLink() |
| 210 |
{ |
| 211 |
return $this->mediaLink; |
| 212 |
} |
| 213 |
public function setMetadata($metadata) |
| 214 |
{ |
| 215 |
$this->metadata = $metadata; |
| 216 |
} |
| 217 |
public function getMetadata() |
| 218 |
{ |
| 219 |
return $this->metadata; |
| 220 |
} |
| 221 |
public function setMetageneration($metageneration) |
| 222 |
{ |
| 223 |
$this->metageneration = $metageneration; |
| 224 |
} |
| 225 |
public function getMetageneration() |
| 226 |
{ |
| 227 |
return $this->metageneration; |
| 228 |
} |
| 229 |
public function setName($name) |
| 230 |
{ |
| 231 |
$this->name = $name; |
| 232 |
} |
| 233 |
public function getName() |
| 234 |
{ |
| 235 |
return $this->name; |
| 236 |
} |
| 237 |
/** |
| 238 |
* @param Google_Service_Storage_StorageObjectOwner |
| 239 |
*/ |
| 240 |
public function setOwner(Google_Service_Storage_StorageObjectOwner $owner) |
| 241 |
{ |
| 242 |
$this->owner = $owner; |
| 243 |
} |
| 244 |
/** |
| 245 |
* @return Google_Service_Storage_StorageObjectOwner |
| 246 |
*/ |
| 247 |
public function getOwner() |
| 248 |
{ |
| 249 |
return $this->owner; |
| 250 |
} |
| 251 |
public function setRetentionExpirationTime($retentionExpirationTime) |
| 252 |
{ |
| 253 |
$this->retentionExpirationTime = $retentionExpirationTime; |
| 254 |
} |
| 255 |
public function getRetentionExpirationTime() |
| 256 |
{ |
| 257 |
return $this->retentionExpirationTime; |
| 258 |
} |
| 259 |
public function setSelfLink($selfLink) |
| 260 |
{ |
| 261 |
$this->selfLink = $selfLink; |
| 262 |
} |
| 263 |
public function getSelfLink() |
| 264 |
{ |
| 265 |
return $this->selfLink; |
| 266 |
} |
| 267 |
public function setSize($size) |
| 268 |
{ |
| 269 |
$this->size = $size; |
| 270 |
} |
| 271 |
public function getSize() |
| 272 |
{ |
| 273 |
return $this->size; |
| 274 |
} |
| 275 |
public function setStorageClass($storageClass) |
| 276 |
{ |
| 277 |
$this->storageClass = $storageClass; |
| 278 |
} |
| 279 |
public function getStorageClass() |
| 280 |
{ |
| 281 |
return $this->storageClass; |
| 282 |
} |
| 283 |
public function setTemporaryHold($temporaryHold) |
| 284 |
{ |
| 285 |
$this->temporaryHold = $temporaryHold; |
| 286 |
} |
| 287 |
public function getTemporaryHold() |
| 288 |
{ |
| 289 |
return $this->temporaryHold; |
| 290 |
} |
| 291 |
public function setTimeCreated($timeCreated) |
| 292 |
{ |
| 293 |
$this->timeCreated = $timeCreated; |
| 294 |
} |
| 295 |
public function getTimeCreated() |
| 296 |
{ |
| 297 |
return $this->timeCreated; |
| 298 |
} |
| 299 |
public function setTimeDeleted($timeDeleted) |
| 300 |
{ |
| 301 |
$this->timeDeleted = $timeDeleted; |
| 302 |
} |
| 303 |
public function getTimeDeleted() |
| 304 |
{ |
| 305 |
return $this->timeDeleted; |
| 306 |
} |
| 307 |
public function setTimeStorageClassUpdated($timeStorageClassUpdated) |
| 308 |
{ |
| 309 |
$this->timeStorageClassUpdated = $timeStorageClassUpdated; |
| 310 |
} |
| 311 |
public function getTimeStorageClassUpdated() |
| 312 |
{ |
| 313 |
return $this->timeStorageClassUpdated; |
| 314 |
} |
| 315 |
public function setUpdated($updated) |
| 316 |
{ |
| 317 |
$this->updated = $updated; |
| 318 |
} |
| 319 |
public function getUpdated() |
| 320 |
{ |
| 321 |
return $this->updated; |
| 322 |
} |
| 323 |
} |
| 324 |
|