source: vendor/google/apiclient-services/src/GKEHub/Membership.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.6 KB
Line 
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
18namespace Google\Service\GKEHub;
19
20class Membership extends \Google\Model
21{
22 protected $authorityType = Authority::class;
23 protected $authorityDataType = '';
24 /**
25 * @var string
26 */
27 public $createTime;
28 /**
29 * @var string
30 */
31 public $deleteTime;
32 /**
33 * @var string
34 */
35 public $description;
36 protected $endpointType = MembershipEndpoint::class;
37 protected $endpointDataType = '';
38 /**
39 * @var string
40 */
41 public $externalId;
42 /**
43 * @var string[]
44 */
45 public $labels;
46 /**
47 * @var string
48 */
49 public $lastConnectionTime;
50 protected $monitoringConfigType = MonitoringConfig::class;
51 protected $monitoringConfigDataType = '';
52 /**
53 * @var string
54 */
55 public $name;
56 protected $stateType = MembershipState::class;
57 protected $stateDataType = '';
58 /**
59 * @var string
60 */
61 public $uniqueId;
62 /**
63 * @var string
64 */
65 public $updateTime;
66
67 /**
68 * @param Authority
69 */
70 public function setAuthority(Authority $authority)
71 {
72 $this->authority = $authority;
73 }
74 /**
75 * @return Authority
76 */
77 public function getAuthority()
78 {
79 return $this->authority;
80 }
81 /**
82 * @param string
83 */
84 public function setCreateTime($createTime)
85 {
86 $this->createTime = $createTime;
87 }
88 /**
89 * @return string
90 */
91 public function getCreateTime()
92 {
93 return $this->createTime;
94 }
95 /**
96 * @param string
97 */
98 public function setDeleteTime($deleteTime)
99 {
100 $this->deleteTime = $deleteTime;
101 }
102 /**
103 * @return string
104 */
105 public function getDeleteTime()
106 {
107 return $this->deleteTime;
108 }
109 /**
110 * @param string
111 */
112 public function setDescription($description)
113 {
114 $this->description = $description;
115 }
116 /**
117 * @return string
118 */
119 public function getDescription()
120 {
121 return $this->description;
122 }
123 /**
124 * @param MembershipEndpoint
125 */
126 public function setEndpoint(MembershipEndpoint $endpoint)
127 {
128 $this->endpoint = $endpoint;
129 }
130 /**
131 * @return MembershipEndpoint
132 */
133 public function getEndpoint()
134 {
135 return $this->endpoint;
136 }
137 /**
138 * @param string
139 */
140 public function setExternalId($externalId)
141 {
142 $this->externalId = $externalId;
143 }
144 /**
145 * @return string
146 */
147 public function getExternalId()
148 {
149 return $this->externalId;
150 }
151 /**
152 * @param string[]
153 */
154 public function setLabels($labels)
155 {
156 $this->labels = $labels;
157 }
158 /**
159 * @return string[]
160 */
161 public function getLabels()
162 {
163 return $this->labels;
164 }
165 /**
166 * @param string
167 */
168 public function setLastConnectionTime($lastConnectionTime)
169 {
170 $this->lastConnectionTime = $lastConnectionTime;
171 }
172 /**
173 * @return string
174 */
175 public function getLastConnectionTime()
176 {
177 return $this->lastConnectionTime;
178 }
179 /**
180 * @param MonitoringConfig
181 */
182 public function setMonitoringConfig(MonitoringConfig $monitoringConfig)
183 {
184 $this->monitoringConfig = $monitoringConfig;
185 }
186 /**
187 * @return MonitoringConfig
188 */
189 public function getMonitoringConfig()
190 {
191 return $this->monitoringConfig;
192 }
193 /**
194 * @param string
195 */
196 public function setName($name)
197 {
198 $this->name = $name;
199 }
200 /**
201 * @return string
202 */
203 public function getName()
204 {
205 return $this->name;
206 }
207 /**
208 * @param MembershipState
209 */
210 public function setState(MembershipState $state)
211 {
212 $this->state = $state;
213 }
214 /**
215 * @return MembershipState
216 */
217 public function getState()
218 {
219 return $this->state;
220 }
221 /**
222 * @param string
223 */
224 public function setUniqueId($uniqueId)
225 {
226 $this->uniqueId = $uniqueId;
227 }
228 /**
229 * @return string
230 */
231 public function getUniqueId()
232 {
233 return $this->uniqueId;
234 }
235 /**
236 * @param string
237 */
238 public function setUpdateTime($updateTime)
239 {
240 $this->updateTime = $updateTime;
241 }
242 /**
243 * @return string
244 */
245 public function getUpdateTime()
246 {
247 return $this->updateTime;
248 }
249}
250
251// Adding a class alias for backwards compatibility with the previous class name.
252class_alias(Membership::class, 'Google_Service_GKEHub_Membership');
Note: See TracBrowser for help on using the repository browser.