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\VMMigrationService; 19 20class DatacenterConnector extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $applianceInfrastructureVersion; 26 /** 27 * @var string 28 */ 29 public $applianceSoftwareVersion; 30 protected $availableVersionsType = AvailableUpdates::class; 31 protected $availableVersionsDataType = ''; 32 /** 33 * @var string 34 */ 35 public $bucket; 36 /** 37 * @var string 38 */ 39 public $createTime; 40 protected $errorType = Status::class; 41 protected $errorDataType = ''; 42 /** 43 * @var string 44 */ 45 public $name; 46 /** 47 * @var string 48 */ 49 public $registrationId; 50 /** 51 * @var string 52 */ 53 public $serviceAccount; 54 /** 55 * @var string 56 */ 57 public $state; 58 /** 59 * @var string 60 */ 61 public $stateTime; 62 /** 63 * @var string 64 */ 65 public $updateTime; 66 protected $upgradeStatusType = UpgradeStatus::class; 67 protected $upgradeStatusDataType = ''; 68 /** 69 * @var string 70 */ 71 public $version; 72 73 /** 74 * @param string 75 */ 76 public function setApplianceInfrastructureVersion($applianceInfrastructureVersion) 77 { 78 $this->applianceInfrastructureVersion = $applianceInfrastructureVersion; 79 } 80 /** 81 * @return string 82 */ 83 public function getApplianceInfrastructureVersion() 84 { 85 return $this->applianceInfrastructureVersion; 86 } 87 /** 88 * @param string 89 */ 90 public function setApplianceSoftwareVersion($applianceSoftwareVersion) 91 { 92 $this->applianceSoftwareVersion = $applianceSoftwareVersion; 93 } 94 /** 95 * @return string 96 */ 97 public function getApplianceSoftwareVersion() 98 { 99 return $this->applianceSoftwareVersion; 100 } 101 /** 102 * @param AvailableUpdates 103 */ 104 public function setAvailableVersions(AvailableUpdates $availableVersions) 105 { 106 $this->availableVersions = $availableVersions; 107 } 108 /** 109 * @return AvailableUpdates 110 */ 111 public function getAvailableVersions() 112 { 113 return $this->availableVersions; 114 } 115 /** 116 * @param string 117 */ 118 public function setBucket($bucket) 119 { 120 $this->bucket = $bucket; 121 } 122 /** 123 * @return string 124 */ 125 public function getBucket() 126 { 127 return $this->bucket; 128 } 129 /** 130 * @param string 131 */ 132 public function setCreateTime($createTime) 133 { 134 $this->createTime = $createTime; 135 } 136 /** 137 * @return string 138 */ 139 public function getCreateTime() 140 { 141 return $this->createTime; 142 } 143 /** 144 * @param Status 145 */ 146 public function setError(Status $error) 147 { 148 $this->error = $error; 149 } 150 /** 151 * @return Status 152 */ 153 public function getError() 154 { 155 return $this->error; 156 } 157 /** 158 * @param string 159 */ 160 public function setName($name) 161 { 162 $this->name = $name; 163 } 164 /** 165 * @return string 166 */ 167 public function getName() 168 { 169 return $this->name; 170 } 171 /** 172 * @param string 173 */ 174 public function setRegistrationId($registrationId) 175 { 176 $this->registrationId = $registrationId; 177 } 178 /** 179 * @return string 180 */ 181 public function getRegistrationId() 182 { 183 return $this->registrationId; 184 } 185 /** 186 * @param string 187 */ 188 public function setServiceAccount($serviceAccount) 189 { 190 $this->serviceAccount = $serviceAccount; 191 } 192 /** 193 * @return string 194 */ 195 public function getServiceAccount() 196 { 197 return $this->serviceAccount; 198 } 199 /** 200 * @param string 201 */ 202 public function setState($state) 203 { 204 $this->state = $state; 205 } 206 /** 207 * @return string 208 */ 209 public function getState() 210 { 211 return $this->state; 212 } 213 /** 214 * @param string 215 */ 216 public function setStateTime($stateTime) 217 { 218 $this->stateTime = $stateTime; 219 } 220 /** 221 * @return string 222 */ 223 public function getStateTime() 224 { 225 return $this->stateTime; 226 } 227 /** 228 * @param string 229 */ 230 public function setUpdateTime($updateTime) 231 { 232 $this->updateTime = $updateTime; 233 } 234 /** 235 * @return string 236 */ 237 public function getUpdateTime() 238 { 239 return $this->updateTime; 240 } 241 /** 242 * @param UpgradeStatus 243 */ 244 public function setUpgradeStatus(UpgradeStatus $upgradeStatus) 245 { 246 $this->upgradeStatus = $upgradeStatus; 247 } 248 /** 249 * @return UpgradeStatus 250 */ 251 public function getUpgradeStatus() 252 { 253 return $this->upgradeStatus; 254 } 255 /** 256 * @param string 257 */ 258 public function setVersion($version) 259 { 260 $this->version = $version; 261 } 262 /** 263 * @return string 264 */ 265 public function getVersion() 266 { 267 return $this->version; 268 } 269} 270 271// Adding a class alias for backwards compatibility with the previous class name. 272class_alias(DatacenterConnector::class, 'Google_Service_VMMigrationService_DatacenterConnector'); 273