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 |
|
---|
18 | namespace Google\Service\WorkflowExecutions;
|
---|
19 |
|
---|
20 | class Execution extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $argument;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $callLogLevel;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $createTime;
|
---|
34 | /**
|
---|
35 | * @var bool
|
---|
36 | */
|
---|
37 | public $disableConcurrencyQuotaOverflowBuffering;
|
---|
38 | /**
|
---|
39 | * @var string
|
---|
40 | */
|
---|
41 | public $duration;
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $endTime;
|
---|
46 | protected $errorType = Error::class;
|
---|
47 | protected $errorDataType = '';
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $executionHistoryLevel;
|
---|
52 | /**
|
---|
53 | * @var string[]
|
---|
54 | */
|
---|
55 | public $labels;
|
---|
56 | /**
|
---|
57 | * @var string
|
---|
58 | */
|
---|
59 | public $name;
|
---|
60 | /**
|
---|
61 | * @var string
|
---|
62 | */
|
---|
63 | public $result;
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $startTime;
|
---|
68 | /**
|
---|
69 | * @var string
|
---|
70 | */
|
---|
71 | public $state;
|
---|
72 | protected $stateErrorType = StateError::class;
|
---|
73 | protected $stateErrorDataType = '';
|
---|
74 | protected $statusType = Status::class;
|
---|
75 | protected $statusDataType = '';
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $workflowRevisionId;
|
---|
80 |
|
---|
81 | /**
|
---|
82 | * @param string
|
---|
83 | */
|
---|
84 | public function setArgument($argument)
|
---|
85 | {
|
---|
86 | $this->argument = $argument;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return string
|
---|
90 | */
|
---|
91 | public function getArgument()
|
---|
92 | {
|
---|
93 | return $this->argument;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param string
|
---|
97 | */
|
---|
98 | public function setCallLogLevel($callLogLevel)
|
---|
99 | {
|
---|
100 | $this->callLogLevel = $callLogLevel;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return string
|
---|
104 | */
|
---|
105 | public function getCallLogLevel()
|
---|
106 | {
|
---|
107 | return $this->callLogLevel;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param string
|
---|
111 | */
|
---|
112 | public function setCreateTime($createTime)
|
---|
113 | {
|
---|
114 | $this->createTime = $createTime;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return string
|
---|
118 | */
|
---|
119 | public function getCreateTime()
|
---|
120 | {
|
---|
121 | return $this->createTime;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param bool
|
---|
125 | */
|
---|
126 | public function setDisableConcurrencyQuotaOverflowBuffering($disableConcurrencyQuotaOverflowBuffering)
|
---|
127 | {
|
---|
128 | $this->disableConcurrencyQuotaOverflowBuffering = $disableConcurrencyQuotaOverflowBuffering;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return bool
|
---|
132 | */
|
---|
133 | public function getDisableConcurrencyQuotaOverflowBuffering()
|
---|
134 | {
|
---|
135 | return $this->disableConcurrencyQuotaOverflowBuffering;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string
|
---|
139 | */
|
---|
140 | public function setDuration($duration)
|
---|
141 | {
|
---|
142 | $this->duration = $duration;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string
|
---|
146 | */
|
---|
147 | public function getDuration()
|
---|
148 | {
|
---|
149 | return $this->duration;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param string
|
---|
153 | */
|
---|
154 | public function setEndTime($endTime)
|
---|
155 | {
|
---|
156 | $this->endTime = $endTime;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return string
|
---|
160 | */
|
---|
161 | public function getEndTime()
|
---|
162 | {
|
---|
163 | return $this->endTime;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param Error
|
---|
167 | */
|
---|
168 | public function setError(Error $error)
|
---|
169 | {
|
---|
170 | $this->error = $error;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return Error
|
---|
174 | */
|
---|
175 | public function getError()
|
---|
176 | {
|
---|
177 | return $this->error;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param string
|
---|
181 | */
|
---|
182 | public function setExecutionHistoryLevel($executionHistoryLevel)
|
---|
183 | {
|
---|
184 | $this->executionHistoryLevel = $executionHistoryLevel;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return string
|
---|
188 | */
|
---|
189 | public function getExecutionHistoryLevel()
|
---|
190 | {
|
---|
191 | return $this->executionHistoryLevel;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param string[]
|
---|
195 | */
|
---|
196 | public function setLabels($labels)
|
---|
197 | {
|
---|
198 | $this->labels = $labels;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return string[]
|
---|
202 | */
|
---|
203 | public function getLabels()
|
---|
204 | {
|
---|
205 | return $this->labels;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param string
|
---|
209 | */
|
---|
210 | public function setName($name)
|
---|
211 | {
|
---|
212 | $this->name = $name;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return string
|
---|
216 | */
|
---|
217 | public function getName()
|
---|
218 | {
|
---|
219 | return $this->name;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param string
|
---|
223 | */
|
---|
224 | public function setResult($result)
|
---|
225 | {
|
---|
226 | $this->result = $result;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return string
|
---|
230 | */
|
---|
231 | public function getResult()
|
---|
232 | {
|
---|
233 | return $this->result;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param string
|
---|
237 | */
|
---|
238 | public function setStartTime($startTime)
|
---|
239 | {
|
---|
240 | $this->startTime = $startTime;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return string
|
---|
244 | */
|
---|
245 | public function getStartTime()
|
---|
246 | {
|
---|
247 | return $this->startTime;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param string
|
---|
251 | */
|
---|
252 | public function setState($state)
|
---|
253 | {
|
---|
254 | $this->state = $state;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return string
|
---|
258 | */
|
---|
259 | public function getState()
|
---|
260 | {
|
---|
261 | return $this->state;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @param StateError
|
---|
265 | */
|
---|
266 | public function setStateError(StateError $stateError)
|
---|
267 | {
|
---|
268 | $this->stateError = $stateError;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @return StateError
|
---|
272 | */
|
---|
273 | public function getStateError()
|
---|
274 | {
|
---|
275 | return $this->stateError;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @param Status
|
---|
279 | */
|
---|
280 | public function setStatus(Status $status)
|
---|
281 | {
|
---|
282 | $this->status = $status;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @return Status
|
---|
286 | */
|
---|
287 | public function getStatus()
|
---|
288 | {
|
---|
289 | return $this->status;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @param string
|
---|
293 | */
|
---|
294 | public function setWorkflowRevisionId($workflowRevisionId)
|
---|
295 | {
|
---|
296 | $this->workflowRevisionId = $workflowRevisionId;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @return string
|
---|
300 | */
|
---|
301 | public function getWorkflowRevisionId()
|
---|
302 | {
|
---|
303 | return $this->workflowRevisionId;
|
---|
304 | }
|
---|
305 | }
|
---|
306 |
|
---|
307 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
308 | class_alias(Execution::class, 'Google_Service_WorkflowExecutions_Execution');
|
---|