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\Integrations;
|
---|
19 |
|
---|
20 | class EnterpriseCrmFrontendsEventbusProtoTaskConfig extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'nextTasks';
|
---|
23 | protected $alertConfigsType = EnterpriseCrmEventbusProtoTaskAlertConfig::class;
|
---|
24 | protected $alertConfigsDataType = 'array';
|
---|
25 | protected $conditionalFailurePoliciesType = EnterpriseCrmEventbusProtoConditionalFailurePolicies::class;
|
---|
26 | protected $conditionalFailurePoliciesDataType = '';
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $createTime;
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $creatorEmail;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $description;
|
---|
39 | /**
|
---|
40 | * @var bool
|
---|
41 | */
|
---|
42 | public $disableStrictTypeValidation;
|
---|
43 | /**
|
---|
44 | * @var string
|
---|
45 | */
|
---|
46 | public $errorCatcherId;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $externalTaskType;
|
---|
51 | protected $failurePolicyType = EnterpriseCrmEventbusProtoFailurePolicy::class;
|
---|
52 | protected $failurePolicyDataType = '';
|
---|
53 | /**
|
---|
54 | * @var int
|
---|
55 | */
|
---|
56 | public $incomingEdgeCount;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $jsonValidationOption;
|
---|
61 | /**
|
---|
62 | * @var string
|
---|
63 | */
|
---|
64 | public $label;
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $lastModifiedTime;
|
---|
69 | protected $nextTasksType = EnterpriseCrmEventbusProtoNextTask::class;
|
---|
70 | protected $nextTasksDataType = 'array';
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $nextTasksExecutionPolicy;
|
---|
75 | protected $parametersType = EnterpriseCrmFrontendsEventbusProtoParameterEntry::class;
|
---|
76 | protected $parametersDataType = 'map';
|
---|
77 | protected $positionType = EnterpriseCrmEventbusProtoCoordinate::class;
|
---|
78 | protected $positionDataType = '';
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $precondition;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $preconditionLabel;
|
---|
87 | protected $rollbackStrategyType = EnterpriseCrmFrontendsEventbusProtoRollbackStrategy::class;
|
---|
88 | protected $rollbackStrategyDataType = '';
|
---|
89 | protected $successPolicyType = EnterpriseCrmEventbusProtoSuccessPolicy::class;
|
---|
90 | protected $successPolicyDataType = '';
|
---|
91 | protected $synchronousCallFailurePolicyType = EnterpriseCrmEventbusProtoFailurePolicy::class;
|
---|
92 | protected $synchronousCallFailurePolicyDataType = '';
|
---|
93 | protected $taskEntityType = EnterpriseCrmFrontendsEventbusProtoTaskEntity::class;
|
---|
94 | protected $taskEntityDataType = '';
|
---|
95 | /**
|
---|
96 | * @var string
|
---|
97 | */
|
---|
98 | public $taskExecutionStrategy;
|
---|
99 | /**
|
---|
100 | * @var string
|
---|
101 | */
|
---|
102 | public $taskName;
|
---|
103 | /**
|
---|
104 | * @var string
|
---|
105 | */
|
---|
106 | public $taskNumber;
|
---|
107 | /**
|
---|
108 | * @var string
|
---|
109 | */
|
---|
110 | public $taskSpec;
|
---|
111 | /**
|
---|
112 | * @var string
|
---|
113 | */
|
---|
114 | public $taskTemplateName;
|
---|
115 | /**
|
---|
116 | * @var string
|
---|
117 | */
|
---|
118 | public $taskType;
|
---|
119 |
|
---|
120 | /**
|
---|
121 | * @param EnterpriseCrmEventbusProtoTaskAlertConfig[]
|
---|
122 | */
|
---|
123 | public function setAlertConfigs($alertConfigs)
|
---|
124 | {
|
---|
125 | $this->alertConfigs = $alertConfigs;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @return EnterpriseCrmEventbusProtoTaskAlertConfig[]
|
---|
129 | */
|
---|
130 | public function getAlertConfigs()
|
---|
131 | {
|
---|
132 | return $this->alertConfigs;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @param EnterpriseCrmEventbusProtoConditionalFailurePolicies
|
---|
136 | */
|
---|
137 | public function setConditionalFailurePolicies(EnterpriseCrmEventbusProtoConditionalFailurePolicies $conditionalFailurePolicies)
|
---|
138 | {
|
---|
139 | $this->conditionalFailurePolicies = $conditionalFailurePolicies;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @return EnterpriseCrmEventbusProtoConditionalFailurePolicies
|
---|
143 | */
|
---|
144 | public function getConditionalFailurePolicies()
|
---|
145 | {
|
---|
146 | return $this->conditionalFailurePolicies;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @param string
|
---|
150 | */
|
---|
151 | public function setCreateTime($createTime)
|
---|
152 | {
|
---|
153 | $this->createTime = $createTime;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @return string
|
---|
157 | */
|
---|
158 | public function getCreateTime()
|
---|
159 | {
|
---|
160 | return $this->createTime;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @param string
|
---|
164 | */
|
---|
165 | public function setCreatorEmail($creatorEmail)
|
---|
166 | {
|
---|
167 | $this->creatorEmail = $creatorEmail;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @return string
|
---|
171 | */
|
---|
172 | public function getCreatorEmail()
|
---|
173 | {
|
---|
174 | return $this->creatorEmail;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @param string
|
---|
178 | */
|
---|
179 | public function setDescription($description)
|
---|
180 | {
|
---|
181 | $this->description = $description;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @return string
|
---|
185 | */
|
---|
186 | public function getDescription()
|
---|
187 | {
|
---|
188 | return $this->description;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @param bool
|
---|
192 | */
|
---|
193 | public function setDisableStrictTypeValidation($disableStrictTypeValidation)
|
---|
194 | {
|
---|
195 | $this->disableStrictTypeValidation = $disableStrictTypeValidation;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @return bool
|
---|
199 | */
|
---|
200 | public function getDisableStrictTypeValidation()
|
---|
201 | {
|
---|
202 | return $this->disableStrictTypeValidation;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @param string
|
---|
206 | */
|
---|
207 | public function setErrorCatcherId($errorCatcherId)
|
---|
208 | {
|
---|
209 | $this->errorCatcherId = $errorCatcherId;
|
---|
210 | }
|
---|
211 | /**
|
---|
212 | * @return string
|
---|
213 | */
|
---|
214 | public function getErrorCatcherId()
|
---|
215 | {
|
---|
216 | return $this->errorCatcherId;
|
---|
217 | }
|
---|
218 | /**
|
---|
219 | * @param string
|
---|
220 | */
|
---|
221 | public function setExternalTaskType($externalTaskType)
|
---|
222 | {
|
---|
223 | $this->externalTaskType = $externalTaskType;
|
---|
224 | }
|
---|
225 | /**
|
---|
226 | * @return string
|
---|
227 | */
|
---|
228 | public function getExternalTaskType()
|
---|
229 | {
|
---|
230 | return $this->externalTaskType;
|
---|
231 | }
|
---|
232 | /**
|
---|
233 | * @param EnterpriseCrmEventbusProtoFailurePolicy
|
---|
234 | */
|
---|
235 | public function setFailurePolicy(EnterpriseCrmEventbusProtoFailurePolicy $failurePolicy)
|
---|
236 | {
|
---|
237 | $this->failurePolicy = $failurePolicy;
|
---|
238 | }
|
---|
239 | /**
|
---|
240 | * @return EnterpriseCrmEventbusProtoFailurePolicy
|
---|
241 | */
|
---|
242 | public function getFailurePolicy()
|
---|
243 | {
|
---|
244 | return $this->failurePolicy;
|
---|
245 | }
|
---|
246 | /**
|
---|
247 | * @param int
|
---|
248 | */
|
---|
249 | public function setIncomingEdgeCount($incomingEdgeCount)
|
---|
250 | {
|
---|
251 | $this->incomingEdgeCount = $incomingEdgeCount;
|
---|
252 | }
|
---|
253 | /**
|
---|
254 | * @return int
|
---|
255 | */
|
---|
256 | public function getIncomingEdgeCount()
|
---|
257 | {
|
---|
258 | return $this->incomingEdgeCount;
|
---|
259 | }
|
---|
260 | /**
|
---|
261 | * @param string
|
---|
262 | */
|
---|
263 | public function setJsonValidationOption($jsonValidationOption)
|
---|
264 | {
|
---|
265 | $this->jsonValidationOption = $jsonValidationOption;
|
---|
266 | }
|
---|
267 | /**
|
---|
268 | * @return string
|
---|
269 | */
|
---|
270 | public function getJsonValidationOption()
|
---|
271 | {
|
---|
272 | return $this->jsonValidationOption;
|
---|
273 | }
|
---|
274 | /**
|
---|
275 | * @param string
|
---|
276 | */
|
---|
277 | public function setLabel($label)
|
---|
278 | {
|
---|
279 | $this->label = $label;
|
---|
280 | }
|
---|
281 | /**
|
---|
282 | * @return string
|
---|
283 | */
|
---|
284 | public function getLabel()
|
---|
285 | {
|
---|
286 | return $this->label;
|
---|
287 | }
|
---|
288 | /**
|
---|
289 | * @param string
|
---|
290 | */
|
---|
291 | public function setLastModifiedTime($lastModifiedTime)
|
---|
292 | {
|
---|
293 | $this->lastModifiedTime = $lastModifiedTime;
|
---|
294 | }
|
---|
295 | /**
|
---|
296 | * @return string
|
---|
297 | */
|
---|
298 | public function getLastModifiedTime()
|
---|
299 | {
|
---|
300 | return $this->lastModifiedTime;
|
---|
301 | }
|
---|
302 | /**
|
---|
303 | * @param EnterpriseCrmEventbusProtoNextTask[]
|
---|
304 | */
|
---|
305 | public function setNextTasks($nextTasks)
|
---|
306 | {
|
---|
307 | $this->nextTasks = $nextTasks;
|
---|
308 | }
|
---|
309 | /**
|
---|
310 | * @return EnterpriseCrmEventbusProtoNextTask[]
|
---|
311 | */
|
---|
312 | public function getNextTasks()
|
---|
313 | {
|
---|
314 | return $this->nextTasks;
|
---|
315 | }
|
---|
316 | /**
|
---|
317 | * @param string
|
---|
318 | */
|
---|
319 | public function setNextTasksExecutionPolicy($nextTasksExecutionPolicy)
|
---|
320 | {
|
---|
321 | $this->nextTasksExecutionPolicy = $nextTasksExecutionPolicy;
|
---|
322 | }
|
---|
323 | /**
|
---|
324 | * @return string
|
---|
325 | */
|
---|
326 | public function getNextTasksExecutionPolicy()
|
---|
327 | {
|
---|
328 | return $this->nextTasksExecutionPolicy;
|
---|
329 | }
|
---|
330 | /**
|
---|
331 | * @param EnterpriseCrmFrontendsEventbusProtoParameterEntry[]
|
---|
332 | */
|
---|
333 | public function setParameters($parameters)
|
---|
334 | {
|
---|
335 | $this->parameters = $parameters;
|
---|
336 | }
|
---|
337 | /**
|
---|
338 | * @return EnterpriseCrmFrontendsEventbusProtoParameterEntry[]
|
---|
339 | */
|
---|
340 | public function getParameters()
|
---|
341 | {
|
---|
342 | return $this->parameters;
|
---|
343 | }
|
---|
344 | /**
|
---|
345 | * @param EnterpriseCrmEventbusProtoCoordinate
|
---|
346 | */
|
---|
347 | public function setPosition(EnterpriseCrmEventbusProtoCoordinate $position)
|
---|
348 | {
|
---|
349 | $this->position = $position;
|
---|
350 | }
|
---|
351 | /**
|
---|
352 | * @return EnterpriseCrmEventbusProtoCoordinate
|
---|
353 | */
|
---|
354 | public function getPosition()
|
---|
355 | {
|
---|
356 | return $this->position;
|
---|
357 | }
|
---|
358 | /**
|
---|
359 | * @param string
|
---|
360 | */
|
---|
361 | public function setPrecondition($precondition)
|
---|
362 | {
|
---|
363 | $this->precondition = $precondition;
|
---|
364 | }
|
---|
365 | /**
|
---|
366 | * @return string
|
---|
367 | */
|
---|
368 | public function getPrecondition()
|
---|
369 | {
|
---|
370 | return $this->precondition;
|
---|
371 | }
|
---|
372 | /**
|
---|
373 | * @param string
|
---|
374 | */
|
---|
375 | public function setPreconditionLabel($preconditionLabel)
|
---|
376 | {
|
---|
377 | $this->preconditionLabel = $preconditionLabel;
|
---|
378 | }
|
---|
379 | /**
|
---|
380 | * @return string
|
---|
381 | */
|
---|
382 | public function getPreconditionLabel()
|
---|
383 | {
|
---|
384 | return $this->preconditionLabel;
|
---|
385 | }
|
---|
386 | /**
|
---|
387 | * @param EnterpriseCrmFrontendsEventbusProtoRollbackStrategy
|
---|
388 | */
|
---|
389 | public function setRollbackStrategy(EnterpriseCrmFrontendsEventbusProtoRollbackStrategy $rollbackStrategy)
|
---|
390 | {
|
---|
391 | $this->rollbackStrategy = $rollbackStrategy;
|
---|
392 | }
|
---|
393 | /**
|
---|
394 | * @return EnterpriseCrmFrontendsEventbusProtoRollbackStrategy
|
---|
395 | */
|
---|
396 | public function getRollbackStrategy()
|
---|
397 | {
|
---|
398 | return $this->rollbackStrategy;
|
---|
399 | }
|
---|
400 | /**
|
---|
401 | * @param EnterpriseCrmEventbusProtoSuccessPolicy
|
---|
402 | */
|
---|
403 | public function setSuccessPolicy(EnterpriseCrmEventbusProtoSuccessPolicy $successPolicy)
|
---|
404 | {
|
---|
405 | $this->successPolicy = $successPolicy;
|
---|
406 | }
|
---|
407 | /**
|
---|
408 | * @return EnterpriseCrmEventbusProtoSuccessPolicy
|
---|
409 | */
|
---|
410 | public function getSuccessPolicy()
|
---|
411 | {
|
---|
412 | return $this->successPolicy;
|
---|
413 | }
|
---|
414 | /**
|
---|
415 | * @param EnterpriseCrmEventbusProtoFailurePolicy
|
---|
416 | */
|
---|
417 | public function setSynchronousCallFailurePolicy(EnterpriseCrmEventbusProtoFailurePolicy $synchronousCallFailurePolicy)
|
---|
418 | {
|
---|
419 | $this->synchronousCallFailurePolicy = $synchronousCallFailurePolicy;
|
---|
420 | }
|
---|
421 | /**
|
---|
422 | * @return EnterpriseCrmEventbusProtoFailurePolicy
|
---|
423 | */
|
---|
424 | public function getSynchronousCallFailurePolicy()
|
---|
425 | {
|
---|
426 | return $this->synchronousCallFailurePolicy;
|
---|
427 | }
|
---|
428 | /**
|
---|
429 | * @param EnterpriseCrmFrontendsEventbusProtoTaskEntity
|
---|
430 | */
|
---|
431 | public function setTaskEntity(EnterpriseCrmFrontendsEventbusProtoTaskEntity $taskEntity)
|
---|
432 | {
|
---|
433 | $this->taskEntity = $taskEntity;
|
---|
434 | }
|
---|
435 | /**
|
---|
436 | * @return EnterpriseCrmFrontendsEventbusProtoTaskEntity
|
---|
437 | */
|
---|
438 | public function getTaskEntity()
|
---|
439 | {
|
---|
440 | return $this->taskEntity;
|
---|
441 | }
|
---|
442 | /**
|
---|
443 | * @param string
|
---|
444 | */
|
---|
445 | public function setTaskExecutionStrategy($taskExecutionStrategy)
|
---|
446 | {
|
---|
447 | $this->taskExecutionStrategy = $taskExecutionStrategy;
|
---|
448 | }
|
---|
449 | /**
|
---|
450 | * @return string
|
---|
451 | */
|
---|
452 | public function getTaskExecutionStrategy()
|
---|
453 | {
|
---|
454 | return $this->taskExecutionStrategy;
|
---|
455 | }
|
---|
456 | /**
|
---|
457 | * @param string
|
---|
458 | */
|
---|
459 | public function setTaskName($taskName)
|
---|
460 | {
|
---|
461 | $this->taskName = $taskName;
|
---|
462 | }
|
---|
463 | /**
|
---|
464 | * @return string
|
---|
465 | */
|
---|
466 | public function getTaskName()
|
---|
467 | {
|
---|
468 | return $this->taskName;
|
---|
469 | }
|
---|
470 | /**
|
---|
471 | * @param string
|
---|
472 | */
|
---|
473 | public function setTaskNumber($taskNumber)
|
---|
474 | {
|
---|
475 | $this->taskNumber = $taskNumber;
|
---|
476 | }
|
---|
477 | /**
|
---|
478 | * @return string
|
---|
479 | */
|
---|
480 | public function getTaskNumber()
|
---|
481 | {
|
---|
482 | return $this->taskNumber;
|
---|
483 | }
|
---|
484 | /**
|
---|
485 | * @param string
|
---|
486 | */
|
---|
487 | public function setTaskSpec($taskSpec)
|
---|
488 | {
|
---|
489 | $this->taskSpec = $taskSpec;
|
---|
490 | }
|
---|
491 | /**
|
---|
492 | * @return string
|
---|
493 | */
|
---|
494 | public function getTaskSpec()
|
---|
495 | {
|
---|
496 | return $this->taskSpec;
|
---|
497 | }
|
---|
498 | /**
|
---|
499 | * @param string
|
---|
500 | */
|
---|
501 | public function setTaskTemplateName($taskTemplateName)
|
---|
502 | {
|
---|
503 | $this->taskTemplateName = $taskTemplateName;
|
---|
504 | }
|
---|
505 | /**
|
---|
506 | * @return string
|
---|
507 | */
|
---|
508 | public function getTaskTemplateName()
|
---|
509 | {
|
---|
510 | return $this->taskTemplateName;
|
---|
511 | }
|
---|
512 | /**
|
---|
513 | * @param string
|
---|
514 | */
|
---|
515 | public function setTaskType($taskType)
|
---|
516 | {
|
---|
517 | $this->taskType = $taskType;
|
---|
518 | }
|
---|
519 | /**
|
---|
520 | * @return string
|
---|
521 | */
|
---|
522 | public function getTaskType()
|
---|
523 | {
|
---|
524 | return $this->taskType;
|
---|
525 | }
|
---|
526 | }
|
---|
527 |
|
---|
528 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
529 | class_alias(EnterpriseCrmFrontendsEventbusProtoTaskConfig::class, 'Google_Service_Integrations_EnterpriseCrmFrontendsEventbusProtoTaskConfig');
|
---|