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\CloudDeploy; 19 20class Rollout extends \Google\Model 21{ 22 /** 23 * @var string[] 24 */ 25 public $annotations; 26 /** 27 * @var string 28 */ 29 public $approvalState; 30 /** 31 * @var string 32 */ 33 public $approveTime; 34 /** 35 * @var string 36 */ 37 public $createTime; 38 /** 39 * @var string 40 */ 41 public $deployEndTime; 42 /** 43 * @var string 44 */ 45 public $deployFailureCause; 46 /** 47 * @var string 48 */ 49 public $deployStartTime; 50 /** 51 * @var string 52 */ 53 public $deployingBuild; 54 /** 55 * @var string 56 */ 57 public $description; 58 /** 59 * @var string 60 */ 61 public $enqueueTime; 62 /** 63 * @var string 64 */ 65 public $etag; 66 /** 67 * @var string 68 */ 69 public $failureReason; 70 /** 71 * @var string[] 72 */ 73 public $labels; 74 /** 75 * @var string 76 */ 77 public $name; 78 /** 79 * @var string 80 */ 81 public $state; 82 /** 83 * @var string 84 */ 85 public $targetId; 86 /** 87 * @var string 88 */ 89 public $uid; 90 91 /** 92 * @param string[] 93 */ 94 public function setAnnotations($annotations) 95 { 96 $this->annotations = $annotations; 97 } 98 /** 99 * @return string[] 100 */ 101 public function getAnnotations() 102 { 103 return $this->annotations; 104 } 105 /** 106 * @param string 107 */ 108 public function setApprovalState($approvalState) 109 { 110 $this->approvalState = $approvalState; 111 } 112 /** 113 * @return string 114 */ 115 public function getApprovalState() 116 { 117 return $this->approvalState; 118 } 119 /** 120 * @param string 121 */ 122 public function setApproveTime($approveTime) 123 { 124 $this->approveTime = $approveTime; 125 } 126 /** 127 * @return string 128 */ 129 public function getApproveTime() 130 { 131 return $this->approveTime; 132 } 133 /** 134 * @param string 135 */ 136 public function setCreateTime($createTime) 137 { 138 $this->createTime = $createTime; 139 } 140 /** 141 * @return string 142 */ 143 public function getCreateTime() 144 { 145 return $this->createTime; 146 } 147 /** 148 * @param string 149 */ 150 public function setDeployEndTime($deployEndTime) 151 { 152 $this->deployEndTime = $deployEndTime; 153 } 154 /** 155 * @return string 156 */ 157 public function getDeployEndTime() 158 { 159 return $this->deployEndTime; 160 } 161 /** 162 * @param string 163 */ 164 public function setDeployFailureCause($deployFailureCause) 165 { 166 $this->deployFailureCause = $deployFailureCause; 167 } 168 /** 169 * @return string 170 */ 171 public function getDeployFailureCause() 172 { 173 return $this->deployFailureCause; 174 } 175 /** 176 * @param string 177 */ 178 public function setDeployStartTime($deployStartTime) 179 { 180 $this->deployStartTime = $deployStartTime; 181 } 182 /** 183 * @return string 184 */ 185 public function getDeployStartTime() 186 { 187 return $this->deployStartTime; 188 } 189 /** 190 * @param string 191 */ 192 public function setDeployingBuild($deployingBuild) 193 { 194 $this->deployingBuild = $deployingBuild; 195 } 196 /** 197 * @return string 198 */ 199 public function getDeployingBuild() 200 { 201 return $this->deployingBuild; 202 } 203 /** 204 * @param string 205 */ 206 public function setDescription($description) 207 { 208 $this->description = $description; 209 } 210 /** 211 * @return string 212 */ 213 public function getDescription() 214 { 215 return $this->description; 216 } 217 /** 218 * @param string 219 */ 220 public function setEnqueueTime($enqueueTime) 221 { 222 $this->enqueueTime = $enqueueTime; 223 } 224 /** 225 * @return string 226 */ 227 public function getEnqueueTime() 228 { 229 return $this->enqueueTime; 230 } 231 /** 232 * @param string 233 */ 234 public function setEtag($etag) 235 { 236 $this->etag = $etag; 237 } 238 /** 239 * @return string 240 */ 241 public function getEtag() 242 { 243 return $this->etag; 244 } 245 /** 246 * @param string 247 */ 248 public function setFailureReason($failureReason) 249 { 250 $this->failureReason = $failureReason; 251 } 252 /** 253 * @return string 254 */ 255 public function getFailureReason() 256 { 257 return $this->failureReason; 258 } 259 /** 260 * @param string[] 261 */ 262 public function setLabels($labels) 263 { 264 $this->labels = $labels; 265 } 266 /** 267 * @return string[] 268 */ 269 public function getLabels() 270 { 271 return $this->labels; 272 } 273 /** 274 * @param string 275 */ 276 public function setName($name) 277 { 278 $this->name = $name; 279 } 280 /** 281 * @return string 282 */ 283 public function getName() 284 { 285 return $this->name; 286 } 287 /** 288 * @param string 289 */ 290 public function setState($state) 291 { 292 $this->state = $state; 293 } 294 /** 295 * @return string 296 */ 297 public function getState() 298 { 299 return $this->state; 300 } 301 /** 302 * @param string 303 */ 304 public function setTargetId($targetId) 305 { 306 $this->targetId = $targetId; 307 } 308 /** 309 * @return string 310 */ 311 public function getTargetId() 312 { 313 return $this->targetId; 314 } 315 /** 316 * @param string 317 */ 318 public function setUid($uid) 319 { 320 $this->uid = $uid; 321 } 322 /** 323 * @return string 324 */ 325 public function getUid() 326 { 327 return $this->uid; 328 } 329} 330 331// Adding a class alias for backwards compatibility with the previous class name. 332class_alias(Rollout::class, 'Google_Service_CloudDeploy_Rollout'); 333