[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\CloudDeploy;
|
---|
| 19 |
|
---|
| 20 | class JobRun extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $advanceChildRolloutJobRunType = AdvanceChildRolloutJobRun::class;
|
---|
| 23 | protected $advanceChildRolloutJobRunDataType = '';
|
---|
| 24 | protected $createChildRolloutJobRunType = CreateChildRolloutJobRun::class;
|
---|
| 25 | protected $createChildRolloutJobRunDataType = '';
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $createTime;
|
---|
| 30 | protected $deployJobRunType = DeployJobRun::class;
|
---|
| 31 | protected $deployJobRunDataType = '';
|
---|
| 32 | /**
|
---|
| 33 | * @var string
|
---|
| 34 | */
|
---|
| 35 | public $endTime;
|
---|
| 36 | /**
|
---|
| 37 | * @var string
|
---|
| 38 | */
|
---|
| 39 | public $etag;
|
---|
| 40 | /**
|
---|
| 41 | * @var string
|
---|
| 42 | */
|
---|
| 43 | public $jobId;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $name;
|
---|
| 48 | /**
|
---|
| 49 | * @var string
|
---|
| 50 | */
|
---|
| 51 | public $phaseId;
|
---|
| 52 | protected $postdeployJobRunType = PostdeployJobRun::class;
|
---|
| 53 | protected $postdeployJobRunDataType = '';
|
---|
| 54 | protected $predeployJobRunType = PredeployJobRun::class;
|
---|
| 55 | protected $predeployJobRunDataType = '';
|
---|
| 56 | /**
|
---|
| 57 | * @var string
|
---|
| 58 | */
|
---|
| 59 | public $startTime;
|
---|
| 60 | /**
|
---|
| 61 | * @var string
|
---|
| 62 | */
|
---|
| 63 | public $state;
|
---|
| 64 | /**
|
---|
| 65 | * @var string
|
---|
| 66 | */
|
---|
| 67 | public $uid;
|
---|
| 68 | protected $verifyJobRunType = VerifyJobRun::class;
|
---|
| 69 | protected $verifyJobRunDataType = '';
|
---|
| 70 |
|
---|
| 71 | /**
|
---|
| 72 | * @param AdvanceChildRolloutJobRun
|
---|
| 73 | */
|
---|
| 74 | public function setAdvanceChildRolloutJobRun(AdvanceChildRolloutJobRun $advanceChildRolloutJobRun)
|
---|
| 75 | {
|
---|
| 76 | $this->advanceChildRolloutJobRun = $advanceChildRolloutJobRun;
|
---|
| 77 | }
|
---|
| 78 | /**
|
---|
| 79 | * @return AdvanceChildRolloutJobRun
|
---|
| 80 | */
|
---|
| 81 | public function getAdvanceChildRolloutJobRun()
|
---|
| 82 | {
|
---|
| 83 | return $this->advanceChildRolloutJobRun;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @param CreateChildRolloutJobRun
|
---|
| 87 | */
|
---|
| 88 | public function setCreateChildRolloutJobRun(CreateChildRolloutJobRun $createChildRolloutJobRun)
|
---|
| 89 | {
|
---|
| 90 | $this->createChildRolloutJobRun = $createChildRolloutJobRun;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @return CreateChildRolloutJobRun
|
---|
| 94 | */
|
---|
| 95 | public function getCreateChildRolloutJobRun()
|
---|
| 96 | {
|
---|
| 97 | return $this->createChildRolloutJobRun;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @param string
|
---|
| 101 | */
|
---|
| 102 | public function setCreateTime($createTime)
|
---|
| 103 | {
|
---|
| 104 | $this->createTime = $createTime;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @return string
|
---|
| 108 | */
|
---|
| 109 | public function getCreateTime()
|
---|
| 110 | {
|
---|
| 111 | return $this->createTime;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param DeployJobRun
|
---|
| 115 | */
|
---|
| 116 | public function setDeployJobRun(DeployJobRun $deployJobRun)
|
---|
| 117 | {
|
---|
| 118 | $this->deployJobRun = $deployJobRun;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return DeployJobRun
|
---|
| 122 | */
|
---|
| 123 | public function getDeployJobRun()
|
---|
| 124 | {
|
---|
| 125 | return $this->deployJobRun;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @param string
|
---|
| 129 | */
|
---|
| 130 | public function setEndTime($endTime)
|
---|
| 131 | {
|
---|
| 132 | $this->endTime = $endTime;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @return string
|
---|
| 136 | */
|
---|
| 137 | public function getEndTime()
|
---|
| 138 | {
|
---|
| 139 | return $this->endTime;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @param string
|
---|
| 143 | */
|
---|
| 144 | public function setEtag($etag)
|
---|
| 145 | {
|
---|
| 146 | $this->etag = $etag;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @return string
|
---|
| 150 | */
|
---|
| 151 | public function getEtag()
|
---|
| 152 | {
|
---|
| 153 | return $this->etag;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @param string
|
---|
| 157 | */
|
---|
| 158 | public function setJobId($jobId)
|
---|
| 159 | {
|
---|
| 160 | $this->jobId = $jobId;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @return string
|
---|
| 164 | */
|
---|
| 165 | public function getJobId()
|
---|
| 166 | {
|
---|
| 167 | return $this->jobId;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @param string
|
---|
| 171 | */
|
---|
| 172 | public function setName($name)
|
---|
| 173 | {
|
---|
| 174 | $this->name = $name;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @return string
|
---|
| 178 | */
|
---|
| 179 | public function getName()
|
---|
| 180 | {
|
---|
| 181 | return $this->name;
|
---|
| 182 | }
|
---|
| 183 | /**
|
---|
| 184 | * @param string
|
---|
| 185 | */
|
---|
| 186 | public function setPhaseId($phaseId)
|
---|
| 187 | {
|
---|
| 188 | $this->phaseId = $phaseId;
|
---|
| 189 | }
|
---|
| 190 | /**
|
---|
| 191 | * @return string
|
---|
| 192 | */
|
---|
| 193 | public function getPhaseId()
|
---|
| 194 | {
|
---|
| 195 | return $this->phaseId;
|
---|
| 196 | }
|
---|
| 197 | /**
|
---|
| 198 | * @param PostdeployJobRun
|
---|
| 199 | */
|
---|
| 200 | public function setPostdeployJobRun(PostdeployJobRun $postdeployJobRun)
|
---|
| 201 | {
|
---|
| 202 | $this->postdeployJobRun = $postdeployJobRun;
|
---|
| 203 | }
|
---|
| 204 | /**
|
---|
| 205 | * @return PostdeployJobRun
|
---|
| 206 | */
|
---|
| 207 | public function getPostdeployJobRun()
|
---|
| 208 | {
|
---|
| 209 | return $this->postdeployJobRun;
|
---|
| 210 | }
|
---|
| 211 | /**
|
---|
| 212 | * @param PredeployJobRun
|
---|
| 213 | */
|
---|
| 214 | public function setPredeployJobRun(PredeployJobRun $predeployJobRun)
|
---|
| 215 | {
|
---|
| 216 | $this->predeployJobRun = $predeployJobRun;
|
---|
| 217 | }
|
---|
| 218 | /**
|
---|
| 219 | * @return PredeployJobRun
|
---|
| 220 | */
|
---|
| 221 | public function getPredeployJobRun()
|
---|
| 222 | {
|
---|
| 223 | return $this->predeployJobRun;
|
---|
| 224 | }
|
---|
| 225 | /**
|
---|
| 226 | * @param string
|
---|
| 227 | */
|
---|
| 228 | public function setStartTime($startTime)
|
---|
| 229 | {
|
---|
| 230 | $this->startTime = $startTime;
|
---|
| 231 | }
|
---|
| 232 | /**
|
---|
| 233 | * @return string
|
---|
| 234 | */
|
---|
| 235 | public function getStartTime()
|
---|
| 236 | {
|
---|
| 237 | return $this->startTime;
|
---|
| 238 | }
|
---|
| 239 | /**
|
---|
| 240 | * @param string
|
---|
| 241 | */
|
---|
| 242 | public function setState($state)
|
---|
| 243 | {
|
---|
| 244 | $this->state = $state;
|
---|
| 245 | }
|
---|
| 246 | /**
|
---|
| 247 | * @return string
|
---|
| 248 | */
|
---|
| 249 | public function getState()
|
---|
| 250 | {
|
---|
| 251 | return $this->state;
|
---|
| 252 | }
|
---|
| 253 | /**
|
---|
| 254 | * @param string
|
---|
| 255 | */
|
---|
| 256 | public function setUid($uid)
|
---|
| 257 | {
|
---|
| 258 | $this->uid = $uid;
|
---|
| 259 | }
|
---|
| 260 | /**
|
---|
| 261 | * @return string
|
---|
| 262 | */
|
---|
| 263 | public function getUid()
|
---|
| 264 | {
|
---|
| 265 | return $this->uid;
|
---|
| 266 | }
|
---|
| 267 | /**
|
---|
| 268 | * @param VerifyJobRun
|
---|
| 269 | */
|
---|
| 270 | public function setVerifyJobRun(VerifyJobRun $verifyJobRun)
|
---|
| 271 | {
|
---|
| 272 | $this->verifyJobRun = $verifyJobRun;
|
---|
| 273 | }
|
---|
| 274 | /**
|
---|
| 275 | * @return VerifyJobRun
|
---|
| 276 | */
|
---|
| 277 | public function getVerifyJobRun()
|
---|
| 278 | {
|
---|
| 279 | return $this->verifyJobRun;
|
---|
| 280 | }
|
---|
| 281 | }
|
---|
| 282 |
|
---|
| 283 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 284 | class_alias(JobRun::class, 'Google_Service_CloudDeploy_JobRun');
|
---|