[e3d4e0a] | 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 GoogleCloudIntegrationsV1alphaTaskConfig extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'nextTasks';
|
---|
| 23 | protected $conditionalFailurePoliciesType = GoogleCloudIntegrationsV1alphaConditionalFailurePolicies::class;
|
---|
| 24 | protected $conditionalFailurePoliciesDataType = '';
|
---|
| 25 | /**
|
---|
| 26 | * @var string
|
---|
| 27 | */
|
---|
| 28 | public $description;
|
---|
| 29 | /**
|
---|
| 30 | * @var string
|
---|
| 31 | */
|
---|
| 32 | public $displayName;
|
---|
| 33 | /**
|
---|
| 34 | * @var string
|
---|
| 35 | */
|
---|
| 36 | public $errorCatcherId;
|
---|
| 37 | /**
|
---|
| 38 | * @var string
|
---|
| 39 | */
|
---|
| 40 | public $externalTaskType;
|
---|
| 41 | protected $failurePolicyType = GoogleCloudIntegrationsV1alphaFailurePolicy::class;
|
---|
| 42 | protected $failurePolicyDataType = '';
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $jsonValidationOption;
|
---|
| 47 | protected $nextTasksType = GoogleCloudIntegrationsV1alphaNextTask::class;
|
---|
| 48 | protected $nextTasksDataType = 'array';
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $nextTasksExecutionPolicy;
|
---|
| 53 | protected $parametersType = GoogleCloudIntegrationsV1alphaEventParameter::class;
|
---|
| 54 | protected $parametersDataType = 'map';
|
---|
| 55 | protected $positionType = GoogleCloudIntegrationsV1alphaCoordinate::class;
|
---|
| 56 | protected $positionDataType = '';
|
---|
| 57 | protected $successPolicyType = GoogleCloudIntegrationsV1alphaSuccessPolicy::class;
|
---|
| 58 | protected $successPolicyDataType = '';
|
---|
| 59 | protected $synchronousCallFailurePolicyType = GoogleCloudIntegrationsV1alphaFailurePolicy::class;
|
---|
| 60 | protected $synchronousCallFailurePolicyDataType = '';
|
---|
| 61 | /**
|
---|
| 62 | * @var string
|
---|
| 63 | */
|
---|
| 64 | public $task;
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $taskExecutionStrategy;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $taskId;
|
---|
| 73 | /**
|
---|
| 74 | * @var string
|
---|
| 75 | */
|
---|
| 76 | public $taskTemplate;
|
---|
| 77 |
|
---|
| 78 | /**
|
---|
| 79 | * @param GoogleCloudIntegrationsV1alphaConditionalFailurePolicies
|
---|
| 80 | */
|
---|
| 81 | public function setConditionalFailurePolicies(GoogleCloudIntegrationsV1alphaConditionalFailurePolicies $conditionalFailurePolicies)
|
---|
| 82 | {
|
---|
| 83 | $this->conditionalFailurePolicies = $conditionalFailurePolicies;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @return GoogleCloudIntegrationsV1alphaConditionalFailurePolicies
|
---|
| 87 | */
|
---|
| 88 | public function getConditionalFailurePolicies()
|
---|
| 89 | {
|
---|
| 90 | return $this->conditionalFailurePolicies;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @param string
|
---|
| 94 | */
|
---|
| 95 | public function setDescription($description)
|
---|
| 96 | {
|
---|
| 97 | $this->description = $description;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @return string
|
---|
| 101 | */
|
---|
| 102 | public function getDescription()
|
---|
| 103 | {
|
---|
| 104 | return $this->description;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @param string
|
---|
| 108 | */
|
---|
| 109 | public function setDisplayName($displayName)
|
---|
| 110 | {
|
---|
| 111 | $this->displayName = $displayName;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @return string
|
---|
| 115 | */
|
---|
| 116 | public function getDisplayName()
|
---|
| 117 | {
|
---|
| 118 | return $this->displayName;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @param string
|
---|
| 122 | */
|
---|
| 123 | public function setErrorCatcherId($errorCatcherId)
|
---|
| 124 | {
|
---|
| 125 | $this->errorCatcherId = $errorCatcherId;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @return string
|
---|
| 129 | */
|
---|
| 130 | public function getErrorCatcherId()
|
---|
| 131 | {
|
---|
| 132 | return $this->errorCatcherId;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @param string
|
---|
| 136 | */
|
---|
| 137 | public function setExternalTaskType($externalTaskType)
|
---|
| 138 | {
|
---|
| 139 | $this->externalTaskType = $externalTaskType;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @return string
|
---|
| 143 | */
|
---|
| 144 | public function getExternalTaskType()
|
---|
| 145 | {
|
---|
| 146 | return $this->externalTaskType;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @param GoogleCloudIntegrationsV1alphaFailurePolicy
|
---|
| 150 | */
|
---|
| 151 | public function setFailurePolicy(GoogleCloudIntegrationsV1alphaFailurePolicy $failurePolicy)
|
---|
| 152 | {
|
---|
| 153 | $this->failurePolicy = $failurePolicy;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @return GoogleCloudIntegrationsV1alphaFailurePolicy
|
---|
| 157 | */
|
---|
| 158 | public function getFailurePolicy()
|
---|
| 159 | {
|
---|
| 160 | return $this->failurePolicy;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @param string
|
---|
| 164 | */
|
---|
| 165 | public function setJsonValidationOption($jsonValidationOption)
|
---|
| 166 | {
|
---|
| 167 | $this->jsonValidationOption = $jsonValidationOption;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @return string
|
---|
| 171 | */
|
---|
| 172 | public function getJsonValidationOption()
|
---|
| 173 | {
|
---|
| 174 | return $this->jsonValidationOption;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @param GoogleCloudIntegrationsV1alphaNextTask[]
|
---|
| 178 | */
|
---|
| 179 | public function setNextTasks($nextTasks)
|
---|
| 180 | {
|
---|
| 181 | $this->nextTasks = $nextTasks;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @return GoogleCloudIntegrationsV1alphaNextTask[]
|
---|
| 185 | */
|
---|
| 186 | public function getNextTasks()
|
---|
| 187 | {
|
---|
| 188 | return $this->nextTasks;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @param string
|
---|
| 192 | */
|
---|
| 193 | public function setNextTasksExecutionPolicy($nextTasksExecutionPolicy)
|
---|
| 194 | {
|
---|
| 195 | $this->nextTasksExecutionPolicy = $nextTasksExecutionPolicy;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @return string
|
---|
| 199 | */
|
---|
| 200 | public function getNextTasksExecutionPolicy()
|
---|
| 201 | {
|
---|
| 202 | return $this->nextTasksExecutionPolicy;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @param GoogleCloudIntegrationsV1alphaEventParameter[]
|
---|
| 206 | */
|
---|
| 207 | public function setParameters($parameters)
|
---|
| 208 | {
|
---|
| 209 | $this->parameters = $parameters;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @return GoogleCloudIntegrationsV1alphaEventParameter[]
|
---|
| 213 | */
|
---|
| 214 | public function getParameters()
|
---|
| 215 | {
|
---|
| 216 | return $this->parameters;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @param GoogleCloudIntegrationsV1alphaCoordinate
|
---|
| 220 | */
|
---|
| 221 | public function setPosition(GoogleCloudIntegrationsV1alphaCoordinate $position)
|
---|
| 222 | {
|
---|
| 223 | $this->position = $position;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @return GoogleCloudIntegrationsV1alphaCoordinate
|
---|
| 227 | */
|
---|
| 228 | public function getPosition()
|
---|
| 229 | {
|
---|
| 230 | return $this->position;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @param GoogleCloudIntegrationsV1alphaSuccessPolicy
|
---|
| 234 | */
|
---|
| 235 | public function setSuccessPolicy(GoogleCloudIntegrationsV1alphaSuccessPolicy $successPolicy)
|
---|
| 236 | {
|
---|
| 237 | $this->successPolicy = $successPolicy;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @return GoogleCloudIntegrationsV1alphaSuccessPolicy
|
---|
| 241 | */
|
---|
| 242 | public function getSuccessPolicy()
|
---|
| 243 | {
|
---|
| 244 | return $this->successPolicy;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @param GoogleCloudIntegrationsV1alphaFailurePolicy
|
---|
| 248 | */
|
---|
| 249 | public function setSynchronousCallFailurePolicy(GoogleCloudIntegrationsV1alphaFailurePolicy $synchronousCallFailurePolicy)
|
---|
| 250 | {
|
---|
| 251 | $this->synchronousCallFailurePolicy = $synchronousCallFailurePolicy;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @return GoogleCloudIntegrationsV1alphaFailurePolicy
|
---|
| 255 | */
|
---|
| 256 | public function getSynchronousCallFailurePolicy()
|
---|
| 257 | {
|
---|
| 258 | return $this->synchronousCallFailurePolicy;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @param string
|
---|
| 262 | */
|
---|
| 263 | public function setTask($task)
|
---|
| 264 | {
|
---|
| 265 | $this->task = $task;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @return string
|
---|
| 269 | */
|
---|
| 270 | public function getTask()
|
---|
| 271 | {
|
---|
| 272 | return $this->task;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @param string
|
---|
| 276 | */
|
---|
| 277 | public function setTaskExecutionStrategy($taskExecutionStrategy)
|
---|
| 278 | {
|
---|
| 279 | $this->taskExecutionStrategy = $taskExecutionStrategy;
|
---|
| 280 | }
|
---|
| 281 | /**
|
---|
| 282 | * @return string
|
---|
| 283 | */
|
---|
| 284 | public function getTaskExecutionStrategy()
|
---|
| 285 | {
|
---|
| 286 | return $this->taskExecutionStrategy;
|
---|
| 287 | }
|
---|
| 288 | /**
|
---|
| 289 | * @param string
|
---|
| 290 | */
|
---|
| 291 | public function setTaskId($taskId)
|
---|
| 292 | {
|
---|
| 293 | $this->taskId = $taskId;
|
---|
| 294 | }
|
---|
| 295 | /**
|
---|
| 296 | * @return string
|
---|
| 297 | */
|
---|
| 298 | public function getTaskId()
|
---|
| 299 | {
|
---|
| 300 | return $this->taskId;
|
---|
| 301 | }
|
---|
| 302 | /**
|
---|
| 303 | * @param string
|
---|
| 304 | */
|
---|
| 305 | public function setTaskTemplate($taskTemplate)
|
---|
| 306 | {
|
---|
| 307 | $this->taskTemplate = $taskTemplate;
|
---|
| 308 | }
|
---|
| 309 | /**
|
---|
| 310 | * @return string
|
---|
| 311 | */
|
---|
| 312 | public function getTaskTemplate()
|
---|
| 313 | {
|
---|
| 314 | return $this->taskTemplate;
|
---|
| 315 | }
|
---|
| 316 | }
|
---|
| 317 |
|
---|
| 318 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 319 | class_alias(GoogleCloudIntegrationsV1alphaTaskConfig::class, 'Google_Service_Integrations_GoogleCloudIntegrationsV1alphaTaskConfig');
|
---|