[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\VMMigrationService;
|
---|
| 19 |
|
---|
| 20 | class AzureVmDetails extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'disks';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $architecture;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $bootOption;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $committedStorageMb;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $computerName;
|
---|
| 39 | /**
|
---|
| 40 | * @var int
|
---|
| 41 | */
|
---|
| 42 | public $cpuCount;
|
---|
| 43 | /**
|
---|
| 44 | * @var int
|
---|
| 45 | */
|
---|
| 46 | public $diskCount;
|
---|
| 47 | protected $disksType = Disk::class;
|
---|
| 48 | protected $disksDataType = 'array';
|
---|
| 49 | /**
|
---|
| 50 | * @var int
|
---|
| 51 | */
|
---|
| 52 | public $memoryMb;
|
---|
| 53 | protected $osDescriptionType = OSDescription::class;
|
---|
| 54 | protected $osDescriptionDataType = '';
|
---|
| 55 | protected $osDiskType = OSDisk::class;
|
---|
| 56 | protected $osDiskDataType = '';
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $powerState;
|
---|
| 61 | /**
|
---|
| 62 | * @var string[]
|
---|
| 63 | */
|
---|
| 64 | public $tags;
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $vmId;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $vmSize;
|
---|
| 73 |
|
---|
| 74 | /**
|
---|
| 75 | * @param string
|
---|
| 76 | */
|
---|
| 77 | public function setArchitecture($architecture)
|
---|
| 78 | {
|
---|
| 79 | $this->architecture = $architecture;
|
---|
| 80 | }
|
---|
| 81 | /**
|
---|
| 82 | * @return string
|
---|
| 83 | */
|
---|
| 84 | public function getArchitecture()
|
---|
| 85 | {
|
---|
| 86 | return $this->architecture;
|
---|
| 87 | }
|
---|
| 88 | /**
|
---|
| 89 | * @param string
|
---|
| 90 | */
|
---|
| 91 | public function setBootOption($bootOption)
|
---|
| 92 | {
|
---|
| 93 | $this->bootOption = $bootOption;
|
---|
| 94 | }
|
---|
| 95 | /**
|
---|
| 96 | * @return string
|
---|
| 97 | */
|
---|
| 98 | public function getBootOption()
|
---|
| 99 | {
|
---|
| 100 | return $this->bootOption;
|
---|
| 101 | }
|
---|
| 102 | /**
|
---|
| 103 | * @param string
|
---|
| 104 | */
|
---|
| 105 | public function setCommittedStorageMb($committedStorageMb)
|
---|
| 106 | {
|
---|
| 107 | $this->committedStorageMb = $committedStorageMb;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return string
|
---|
| 111 | */
|
---|
| 112 | public function getCommittedStorageMb()
|
---|
| 113 | {
|
---|
| 114 | return $this->committedStorageMb;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param string
|
---|
| 118 | */
|
---|
| 119 | public function setComputerName($computerName)
|
---|
| 120 | {
|
---|
| 121 | $this->computerName = $computerName;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return string
|
---|
| 125 | */
|
---|
| 126 | public function getComputerName()
|
---|
| 127 | {
|
---|
| 128 | return $this->computerName;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param int
|
---|
| 132 | */
|
---|
| 133 | public function setCpuCount($cpuCount)
|
---|
| 134 | {
|
---|
| 135 | $this->cpuCount = $cpuCount;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return int
|
---|
| 139 | */
|
---|
| 140 | public function getCpuCount()
|
---|
| 141 | {
|
---|
| 142 | return $this->cpuCount;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param int
|
---|
| 146 | */
|
---|
| 147 | public function setDiskCount($diskCount)
|
---|
| 148 | {
|
---|
| 149 | $this->diskCount = $diskCount;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return int
|
---|
| 153 | */
|
---|
| 154 | public function getDiskCount()
|
---|
| 155 | {
|
---|
| 156 | return $this->diskCount;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @param Disk[]
|
---|
| 160 | */
|
---|
| 161 | public function setDisks($disks)
|
---|
| 162 | {
|
---|
| 163 | $this->disks = $disks;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @return Disk[]
|
---|
| 167 | */
|
---|
| 168 | public function getDisks()
|
---|
| 169 | {
|
---|
| 170 | return $this->disks;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @param int
|
---|
| 174 | */
|
---|
| 175 | public function setMemoryMb($memoryMb)
|
---|
| 176 | {
|
---|
| 177 | $this->memoryMb = $memoryMb;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @return int
|
---|
| 181 | */
|
---|
| 182 | public function getMemoryMb()
|
---|
| 183 | {
|
---|
| 184 | return $this->memoryMb;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @param OSDescription
|
---|
| 188 | */
|
---|
| 189 | public function setOsDescription(OSDescription $osDescription)
|
---|
| 190 | {
|
---|
| 191 | $this->osDescription = $osDescription;
|
---|
| 192 | }
|
---|
| 193 | /**
|
---|
| 194 | * @return OSDescription
|
---|
| 195 | */
|
---|
| 196 | public function getOsDescription()
|
---|
| 197 | {
|
---|
| 198 | return $this->osDescription;
|
---|
| 199 | }
|
---|
| 200 | /**
|
---|
| 201 | * @param OSDisk
|
---|
| 202 | */
|
---|
| 203 | public function setOsDisk(OSDisk $osDisk)
|
---|
| 204 | {
|
---|
| 205 | $this->osDisk = $osDisk;
|
---|
| 206 | }
|
---|
| 207 | /**
|
---|
| 208 | * @return OSDisk
|
---|
| 209 | */
|
---|
| 210 | public function getOsDisk()
|
---|
| 211 | {
|
---|
| 212 | return $this->osDisk;
|
---|
| 213 | }
|
---|
| 214 | /**
|
---|
| 215 | * @param string
|
---|
| 216 | */
|
---|
| 217 | public function setPowerState($powerState)
|
---|
| 218 | {
|
---|
| 219 | $this->powerState = $powerState;
|
---|
| 220 | }
|
---|
| 221 | /**
|
---|
| 222 | * @return string
|
---|
| 223 | */
|
---|
| 224 | public function getPowerState()
|
---|
| 225 | {
|
---|
| 226 | return $this->powerState;
|
---|
| 227 | }
|
---|
| 228 | /**
|
---|
| 229 | * @param string[]
|
---|
| 230 | */
|
---|
| 231 | public function setTags($tags)
|
---|
| 232 | {
|
---|
| 233 | $this->tags = $tags;
|
---|
| 234 | }
|
---|
| 235 | /**
|
---|
| 236 | * @return string[]
|
---|
| 237 | */
|
---|
| 238 | public function getTags()
|
---|
| 239 | {
|
---|
| 240 | return $this->tags;
|
---|
| 241 | }
|
---|
| 242 | /**
|
---|
| 243 | * @param string
|
---|
| 244 | */
|
---|
| 245 | public function setVmId($vmId)
|
---|
| 246 | {
|
---|
| 247 | $this->vmId = $vmId;
|
---|
| 248 | }
|
---|
| 249 | /**
|
---|
| 250 | * @return string
|
---|
| 251 | */
|
---|
| 252 | public function getVmId()
|
---|
| 253 | {
|
---|
| 254 | return $this->vmId;
|
---|
| 255 | }
|
---|
| 256 | /**
|
---|
| 257 | * @param string
|
---|
| 258 | */
|
---|
| 259 | public function setVmSize($vmSize)
|
---|
| 260 | {
|
---|
| 261 | $this->vmSize = $vmSize;
|
---|
| 262 | }
|
---|
| 263 | /**
|
---|
| 264 | * @return string
|
---|
| 265 | */
|
---|
| 266 | public function getVmSize()
|
---|
| 267 | {
|
---|
| 268 | return $this->vmSize;
|
---|
| 269 | }
|
---|
| 270 | }
|
---|
| 271 |
|
---|
| 272 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 273 | class_alias(AzureVmDetails::class, 'Google_Service_VMMigrationService_AzureVmDetails');
|
---|