source: vendor/google/apiclient-services/src/Container/Operation.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 5.1 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\Container;
19
20class Operation extends \Google\Collection
21{
22 protected $collection_key = 'nodepoolConditions';
23 protected $clusterConditionsType = StatusCondition::class;
24 protected $clusterConditionsDataType = 'array';
25 /**
26 * @var string
27 */
28 public $detail;
29 /**
30 * @var string
31 */
32 public $endTime;
33 protected $errorType = Status::class;
34 protected $errorDataType = '';
35 /**
36 * @var string
37 */
38 public $location;
39 /**
40 * @var string
41 */
42 public $name;
43 protected $nodepoolConditionsType = StatusCondition::class;
44 protected $nodepoolConditionsDataType = 'array';
45 /**
46 * @var string
47 */
48 public $operationType;
49 protected $progressType = OperationProgress::class;
50 protected $progressDataType = '';
51 /**
52 * @var string
53 */
54 public $selfLink;
55 /**
56 * @var string
57 */
58 public $startTime;
59 /**
60 * @var string
61 */
62 public $status;
63 /**
64 * @var string
65 */
66 public $statusMessage;
67 /**
68 * @var string
69 */
70 public $targetLink;
71 /**
72 * @var string
73 */
74 public $zone;
75
76 /**
77 * @param StatusCondition[]
78 */
79 public function setClusterConditions($clusterConditions)
80 {
81 $this->clusterConditions = $clusterConditions;
82 }
83 /**
84 * @return StatusCondition[]
85 */
86 public function getClusterConditions()
87 {
88 return $this->clusterConditions;
89 }
90 /**
91 * @param string
92 */
93 public function setDetail($detail)
94 {
95 $this->detail = $detail;
96 }
97 /**
98 * @return string
99 */
100 public function getDetail()
101 {
102 return $this->detail;
103 }
104 /**
105 * @param string
106 */
107 public function setEndTime($endTime)
108 {
109 $this->endTime = $endTime;
110 }
111 /**
112 * @return string
113 */
114 public function getEndTime()
115 {
116 return $this->endTime;
117 }
118 /**
119 * @param Status
120 */
121 public function setError(Status $error)
122 {
123 $this->error = $error;
124 }
125 /**
126 * @return Status
127 */
128 public function getError()
129 {
130 return $this->error;
131 }
132 /**
133 * @param string
134 */
135 public function setLocation($location)
136 {
137 $this->location = $location;
138 }
139 /**
140 * @return string
141 */
142 public function getLocation()
143 {
144 return $this->location;
145 }
146 /**
147 * @param string
148 */
149 public function setName($name)
150 {
151 $this->name = $name;
152 }
153 /**
154 * @return string
155 */
156 public function getName()
157 {
158 return $this->name;
159 }
160 /**
161 * @param StatusCondition[]
162 */
163 public function setNodepoolConditions($nodepoolConditions)
164 {
165 $this->nodepoolConditions = $nodepoolConditions;
166 }
167 /**
168 * @return StatusCondition[]
169 */
170 public function getNodepoolConditions()
171 {
172 return $this->nodepoolConditions;
173 }
174 /**
175 * @param string
176 */
177 public function setOperationType($operationType)
178 {
179 $this->operationType = $operationType;
180 }
181 /**
182 * @return string
183 */
184 public function getOperationType()
185 {
186 return $this->operationType;
187 }
188 /**
189 * @param OperationProgress
190 */
191 public function setProgress(OperationProgress $progress)
192 {
193 $this->progress = $progress;
194 }
195 /**
196 * @return OperationProgress
197 */
198 public function getProgress()
199 {
200 return $this->progress;
201 }
202 /**
203 * @param string
204 */
205 public function setSelfLink($selfLink)
206 {
207 $this->selfLink = $selfLink;
208 }
209 /**
210 * @return string
211 */
212 public function getSelfLink()
213 {
214 return $this->selfLink;
215 }
216 /**
217 * @param string
218 */
219 public function setStartTime($startTime)
220 {
221 $this->startTime = $startTime;
222 }
223 /**
224 * @return string
225 */
226 public function getStartTime()
227 {
228 return $this->startTime;
229 }
230 /**
231 * @param string
232 */
233 public function setStatus($status)
234 {
235 $this->status = $status;
236 }
237 /**
238 * @return string
239 */
240 public function getStatus()
241 {
242 return $this->status;
243 }
244 /**
245 * @param string
246 */
247 public function setStatusMessage($statusMessage)
248 {
249 $this->statusMessage = $statusMessage;
250 }
251 /**
252 * @return string
253 */
254 public function getStatusMessage()
255 {
256 return $this->statusMessage;
257 }
258 /**
259 * @param string
260 */
261 public function setTargetLink($targetLink)
262 {
263 $this->targetLink = $targetLink;
264 }
265 /**
266 * @return string
267 */
268 public function getTargetLink()
269 {
270 return $this->targetLink;
271 }
272 /**
273 * @param string
274 */
275 public function setZone($zone)
276 {
277 $this->zone = $zone;
278 }
279 /**
280 * @return string
281 */
282 public function getZone()
283 {
284 return $this->zone;
285 }
286}
287
288// Adding a class alias for backwards compatibility with the previous class name.
289class_alias(Operation::class, 'Google_Service_Container_Operation');
Note: See TracBrowser for help on using the repository browser.