[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\MigrationCenterAPI;
|
---|
| 19 |
|
---|
| 20 | class VirtualMachineArchitectureDetails extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $biosType = BiosDetails::class;
|
---|
| 23 | protected $biosDataType = '';
|
---|
| 24 | /**
|
---|
| 25 | * @var string
|
---|
| 26 | */
|
---|
| 27 | public $cpuArchitecture;
|
---|
| 28 | /**
|
---|
| 29 | * @var string
|
---|
| 30 | */
|
---|
| 31 | public $cpuManufacturer;
|
---|
| 32 | /**
|
---|
| 33 | * @var string
|
---|
| 34 | */
|
---|
| 35 | public $cpuName;
|
---|
| 36 | /**
|
---|
| 37 | * @var int
|
---|
| 38 | */
|
---|
| 39 | public $cpuSocketCount;
|
---|
| 40 | /**
|
---|
| 41 | * @var int
|
---|
| 42 | */
|
---|
| 43 | public $cpuThreadCount;
|
---|
| 44 | /**
|
---|
| 45 | * @var string
|
---|
| 46 | */
|
---|
| 47 | public $firmware;
|
---|
| 48 | /**
|
---|
| 49 | * @var string
|
---|
| 50 | */
|
---|
| 51 | public $hyperthreading;
|
---|
| 52 | /**
|
---|
| 53 | * @var string
|
---|
| 54 | */
|
---|
| 55 | public $vendor;
|
---|
| 56 |
|
---|
| 57 | /**
|
---|
| 58 | * @param BiosDetails
|
---|
| 59 | */
|
---|
| 60 | public function setBios(BiosDetails $bios)
|
---|
| 61 | {
|
---|
| 62 | $this->bios = $bios;
|
---|
| 63 | }
|
---|
| 64 | /**
|
---|
| 65 | * @return BiosDetails
|
---|
| 66 | */
|
---|
| 67 | public function getBios()
|
---|
| 68 | {
|
---|
| 69 | return $this->bios;
|
---|
| 70 | }
|
---|
| 71 | /**
|
---|
| 72 | * @param string
|
---|
| 73 | */
|
---|
| 74 | public function setCpuArchitecture($cpuArchitecture)
|
---|
| 75 | {
|
---|
| 76 | $this->cpuArchitecture = $cpuArchitecture;
|
---|
| 77 | }
|
---|
| 78 | /**
|
---|
| 79 | * @return string
|
---|
| 80 | */
|
---|
| 81 | public function getCpuArchitecture()
|
---|
| 82 | {
|
---|
| 83 | return $this->cpuArchitecture;
|
---|
| 84 | }
|
---|
| 85 | /**
|
---|
| 86 | * @param string
|
---|
| 87 | */
|
---|
| 88 | public function setCpuManufacturer($cpuManufacturer)
|
---|
| 89 | {
|
---|
| 90 | $this->cpuManufacturer = $cpuManufacturer;
|
---|
| 91 | }
|
---|
| 92 | /**
|
---|
| 93 | * @return string
|
---|
| 94 | */
|
---|
| 95 | public function getCpuManufacturer()
|
---|
| 96 | {
|
---|
| 97 | return $this->cpuManufacturer;
|
---|
| 98 | }
|
---|
| 99 | /**
|
---|
| 100 | * @param string
|
---|
| 101 | */
|
---|
| 102 | public function setCpuName($cpuName)
|
---|
| 103 | {
|
---|
| 104 | $this->cpuName = $cpuName;
|
---|
| 105 | }
|
---|
| 106 | /**
|
---|
| 107 | * @return string
|
---|
| 108 | */
|
---|
| 109 | public function getCpuName()
|
---|
| 110 | {
|
---|
| 111 | return $this->cpuName;
|
---|
| 112 | }
|
---|
| 113 | /**
|
---|
| 114 | * @param int
|
---|
| 115 | */
|
---|
| 116 | public function setCpuSocketCount($cpuSocketCount)
|
---|
| 117 | {
|
---|
| 118 | $this->cpuSocketCount = $cpuSocketCount;
|
---|
| 119 | }
|
---|
| 120 | /**
|
---|
| 121 | * @return int
|
---|
| 122 | */
|
---|
| 123 | public function getCpuSocketCount()
|
---|
| 124 | {
|
---|
| 125 | return $this->cpuSocketCount;
|
---|
| 126 | }
|
---|
| 127 | /**
|
---|
| 128 | * @param int
|
---|
| 129 | */
|
---|
| 130 | public function setCpuThreadCount($cpuThreadCount)
|
---|
| 131 | {
|
---|
| 132 | $this->cpuThreadCount = $cpuThreadCount;
|
---|
| 133 | }
|
---|
| 134 | /**
|
---|
| 135 | * @return int
|
---|
| 136 | */
|
---|
| 137 | public function getCpuThreadCount()
|
---|
| 138 | {
|
---|
| 139 | return $this->cpuThreadCount;
|
---|
| 140 | }
|
---|
| 141 | /**
|
---|
| 142 | * @param string
|
---|
| 143 | */
|
---|
| 144 | public function setFirmware($firmware)
|
---|
| 145 | {
|
---|
| 146 | $this->firmware = $firmware;
|
---|
| 147 | }
|
---|
| 148 | /**
|
---|
| 149 | * @return string
|
---|
| 150 | */
|
---|
| 151 | public function getFirmware()
|
---|
| 152 | {
|
---|
| 153 | return $this->firmware;
|
---|
| 154 | }
|
---|
| 155 | /**
|
---|
| 156 | * @param string
|
---|
| 157 | */
|
---|
| 158 | public function setHyperthreading($hyperthreading)
|
---|
| 159 | {
|
---|
| 160 | $this->hyperthreading = $hyperthreading;
|
---|
| 161 | }
|
---|
| 162 | /**
|
---|
| 163 | * @return string
|
---|
| 164 | */
|
---|
| 165 | public function getHyperthreading()
|
---|
| 166 | {
|
---|
| 167 | return $this->hyperthreading;
|
---|
| 168 | }
|
---|
| 169 | /**
|
---|
| 170 | * @param string
|
---|
| 171 | */
|
---|
| 172 | public function setVendor($vendor)
|
---|
| 173 | {
|
---|
| 174 | $this->vendor = $vendor;
|
---|
| 175 | }
|
---|
| 176 | /**
|
---|
| 177 | * @return string
|
---|
| 178 | */
|
---|
| 179 | public function getVendor()
|
---|
| 180 | {
|
---|
| 181 | return $this->vendor;
|
---|
| 182 | }
|
---|
| 183 | }
|
---|
| 184 |
|
---|
| 185 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 186 | class_alias(VirtualMachineArchitectureDetails::class, 'Google_Service_MigrationCenterAPI_VirtualMachineArchitectureDetails');
|
---|