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_GKEHub_Membership extends Google_Model 19{ 20 protected $authorityType = 'Google_Service_GKEHub_Authority'; 21 protected $authorityDataType = ''; 22 public $createTime; 23 public $deleteTime; 24 public $description; 25 protected $endpointType = 'Google_Service_GKEHub_MembershipEndpoint'; 26 protected $endpointDataType = ''; 27 public $externalId; 28 public $labels; 29 public $lastConnectionTime; 30 public $name; 31 protected $stateType = 'Google_Service_GKEHub_MembershipState'; 32 protected $stateDataType = ''; 33 public $uniqueId; 34 public $updateTime; 35 36 /** 37 * @param Google_Service_GKEHub_Authority 38 */ 39 public function setAuthority(Google_Service_GKEHub_Authority $authority) 40 { 41 $this->authority = $authority; 42 } 43 /** 44 * @return Google_Service_GKEHub_Authority 45 */ 46 public function getAuthority() 47 { 48 return $this->authority; 49 } 50 public function setCreateTime($createTime) 51 { 52 $this->createTime = $createTime; 53 } 54 public function getCreateTime() 55 { 56 return $this->createTime; 57 } 58 public function setDeleteTime($deleteTime) 59 { 60 $this->deleteTime = $deleteTime; 61 } 62 public function getDeleteTime() 63 { 64 return $this->deleteTime; 65 } 66 public function setDescription($description) 67 { 68 $this->description = $description; 69 } 70 public function getDescription() 71 { 72 return $this->description; 73 } 74 /** 75 * @param Google_Service_GKEHub_MembershipEndpoint 76 */ 77 public function setEndpoint(Google_Service_GKEHub_MembershipEndpoint $endpoint) 78 { 79 $this->endpoint = $endpoint; 80 } 81 /** 82 * @return Google_Service_GKEHub_MembershipEndpoint 83 */ 84 public function getEndpoint() 85 { 86 return $this->endpoint; 87 } 88 public function setExternalId($externalId) 89 { 90 $this->externalId = $externalId; 91 } 92 public function getExternalId() 93 { 94 return $this->externalId; 95 } 96 public function setLabels($labels) 97 { 98 $this->labels = $labels; 99 } 100 public function getLabels() 101 { 102 return $this->labels; 103 } 104 public function setLastConnectionTime($lastConnectionTime) 105 { 106 $this->lastConnectionTime = $lastConnectionTime; 107 } 108 public function getLastConnectionTime() 109 { 110 return $this->lastConnectionTime; 111 } 112 public function setName($name) 113 { 114 $this->name = $name; 115 } 116 public function getName() 117 { 118 return $this->name; 119 } 120 /** 121 * @param Google_Service_GKEHub_MembershipState 122 */ 123 public function setState(Google_Service_GKEHub_MembershipState $state) 124 { 125 $this->state = $state; 126 } 127 /** 128 * @return Google_Service_GKEHub_MembershipState 129 */ 130 public function getState() 131 { 132 return $this->state; 133 } 134 public function setUniqueId($uniqueId) 135 { 136 $this->uniqueId = $uniqueId; 137 } 138 public function getUniqueId() 139 { 140 return $this->uniqueId; 141 } 142 public function setUpdateTime($updateTime) 143 { 144 $this->updateTime = $updateTime; 145 } 146 public function getUpdateTime() 147 { 148 return $this->updateTime; 149 } 150} 151