| 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_Policy extends Google_Collection |
| 20 |
{ |
| 21 |
protected $collection_key = 'bindings'; |
| 22 |
protected $bindingsType = 'Google_Service_Storage_PolicyBindings'; |
| 23 |
protected $bindingsDataType = 'array'; |
| 24 |
public $etag; |
| 25 |
public $kind; |
| 26 |
public $resourceId; |
| 27 |
public $version; |
| 28 |
|
| 29 |
/** |
| 30 |
* @param Google_Service_Storage_PolicyBindings |
| 31 |
*/ |
| 32 |
public function setBindings($bindings) |
| 33 |
{ |
| 34 |
$this->bindings = $bindings; |
| 35 |
} |
| 36 |
/** |
| 37 |
* @return Google_Service_Storage_PolicyBindings |
| 38 |
*/ |
| 39 |
public function getBindings() |
| 40 |
{ |
| 41 |
return $this->bindings; |
| 42 |
} |
| 43 |
public function setEtag($etag) |
| 44 |
{ |
| 45 |
$this->etag = $etag; |
| 46 |
} |
| 47 |
public function getEtag() |
| 48 |
{ |
| 49 |
return $this->etag; |
| 50 |
} |
| 51 |
public function setKind($kind) |
| 52 |
{ |
| 53 |
$this->kind = $kind; |
| 54 |
} |
| 55 |
public function getKind() |
| 56 |
{ |
| 57 |
return $this->kind; |
| 58 |
} |
| 59 |
public function setResourceId($resourceId) |
| 60 |
{ |
| 61 |
$this->resourceId = $resourceId; |
| 62 |
} |
| 63 |
public function getResourceId() |
| 64 |
{ |
| 65 |
return $this->resourceId; |
| 66 |
} |
| 67 |
public function setVersion($version) |
| 68 |
{ |
| 69 |
$this->version = $version; |
| 70 |
} |
| 71 |
public function getVersion() |
| 72 |
{ |
| 73 |
return $this->version; |
| 74 |
} |
| 75 |
} |
| 76 |
|