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 VirtualMachineDetails extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var int
|
---|
24 | */
|
---|
25 | public $coreCount;
|
---|
26 | /**
|
---|
27 | * @var string
|
---|
28 | */
|
---|
29 | public $createTime;
|
---|
30 | protected $guestOsType = GuestOsDetails::class;
|
---|
31 | protected $guestOsDataType = '';
|
---|
32 | /**
|
---|
33 | * @var int
|
---|
34 | */
|
---|
35 | public $memoryMb;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $osFamily;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $osName;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $osVersion;
|
---|
48 | protected $platformType = PlatformDetails::class;
|
---|
49 | protected $platformDataType = '';
|
---|
50 | /**
|
---|
51 | * @var string
|
---|
52 | */
|
---|
53 | public $powerState;
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $vcenterFolder;
|
---|
58 | /**
|
---|
59 | * @var string
|
---|
60 | */
|
---|
61 | public $vcenterUrl;
|
---|
62 | /**
|
---|
63 | * @var string
|
---|
64 | */
|
---|
65 | public $vcenterVmId;
|
---|
66 | protected $vmArchitectureType = VirtualMachineArchitectureDetails::class;
|
---|
67 | protected $vmArchitectureDataType = '';
|
---|
68 | protected $vmDisksType = VirtualMachineDiskDetails::class;
|
---|
69 | protected $vmDisksDataType = '';
|
---|
70 | /**
|
---|
71 | * @var string
|
---|
72 | */
|
---|
73 | public $vmName;
|
---|
74 | protected $vmNetworkType = VirtualMachineNetworkDetails::class;
|
---|
75 | protected $vmNetworkDataType = '';
|
---|
76 | /**
|
---|
77 | * @var string
|
---|
78 | */
|
---|
79 | public $vmUuid;
|
---|
80 |
|
---|
81 | /**
|
---|
82 | * @param int
|
---|
83 | */
|
---|
84 | public function setCoreCount($coreCount)
|
---|
85 | {
|
---|
86 | $this->coreCount = $coreCount;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return int
|
---|
90 | */
|
---|
91 | public function getCoreCount()
|
---|
92 | {
|
---|
93 | return $this->coreCount;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param string
|
---|
97 | */
|
---|
98 | public function setCreateTime($createTime)
|
---|
99 | {
|
---|
100 | $this->createTime = $createTime;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return string
|
---|
104 | */
|
---|
105 | public function getCreateTime()
|
---|
106 | {
|
---|
107 | return $this->createTime;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param GuestOsDetails
|
---|
111 | */
|
---|
112 | public function setGuestOs(GuestOsDetails $guestOs)
|
---|
113 | {
|
---|
114 | $this->guestOs = $guestOs;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return GuestOsDetails
|
---|
118 | */
|
---|
119 | public function getGuestOs()
|
---|
120 | {
|
---|
121 | return $this->guestOs;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param int
|
---|
125 | */
|
---|
126 | public function setMemoryMb($memoryMb)
|
---|
127 | {
|
---|
128 | $this->memoryMb = $memoryMb;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return int
|
---|
132 | */
|
---|
133 | public function getMemoryMb()
|
---|
134 | {
|
---|
135 | return $this->memoryMb;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @param string
|
---|
139 | */
|
---|
140 | public function setOsFamily($osFamily)
|
---|
141 | {
|
---|
142 | $this->osFamily = $osFamily;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @return string
|
---|
146 | */
|
---|
147 | public function getOsFamily()
|
---|
148 | {
|
---|
149 | return $this->osFamily;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @param string
|
---|
153 | */
|
---|
154 | public function setOsName($osName)
|
---|
155 | {
|
---|
156 | $this->osName = $osName;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @return string
|
---|
160 | */
|
---|
161 | public function getOsName()
|
---|
162 | {
|
---|
163 | return $this->osName;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @param string
|
---|
167 | */
|
---|
168 | public function setOsVersion($osVersion)
|
---|
169 | {
|
---|
170 | $this->osVersion = $osVersion;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @return string
|
---|
174 | */
|
---|
175 | public function getOsVersion()
|
---|
176 | {
|
---|
177 | return $this->osVersion;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @param PlatformDetails
|
---|
181 | */
|
---|
182 | public function setPlatform(PlatformDetails $platform)
|
---|
183 | {
|
---|
184 | $this->platform = $platform;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @return PlatformDetails
|
---|
188 | */
|
---|
189 | public function getPlatform()
|
---|
190 | {
|
---|
191 | return $this->platform;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @param string
|
---|
195 | */
|
---|
196 | public function setPowerState($powerState)
|
---|
197 | {
|
---|
198 | $this->powerState = $powerState;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @return string
|
---|
202 | */
|
---|
203 | public function getPowerState()
|
---|
204 | {
|
---|
205 | return $this->powerState;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @param string
|
---|
209 | */
|
---|
210 | public function setVcenterFolder($vcenterFolder)
|
---|
211 | {
|
---|
212 | $this->vcenterFolder = $vcenterFolder;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @return string
|
---|
216 | */
|
---|
217 | public function getVcenterFolder()
|
---|
218 | {
|
---|
219 | return $this->vcenterFolder;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @param string
|
---|
223 | */
|
---|
224 | public function setVcenterUrl($vcenterUrl)
|
---|
225 | {
|
---|
226 | $this->vcenterUrl = $vcenterUrl;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @return string
|
---|
230 | */
|
---|
231 | public function getVcenterUrl()
|
---|
232 | {
|
---|
233 | return $this->vcenterUrl;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @param string
|
---|
237 | */
|
---|
238 | public function setVcenterVmId($vcenterVmId)
|
---|
239 | {
|
---|
240 | $this->vcenterVmId = $vcenterVmId;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @return string
|
---|
244 | */
|
---|
245 | public function getVcenterVmId()
|
---|
246 | {
|
---|
247 | return $this->vcenterVmId;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @param VirtualMachineArchitectureDetails
|
---|
251 | */
|
---|
252 | public function setVmArchitecture(VirtualMachineArchitectureDetails $vmArchitecture)
|
---|
253 | {
|
---|
254 | $this->vmArchitecture = $vmArchitecture;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @return VirtualMachineArchitectureDetails
|
---|
258 | */
|
---|
259 | public function getVmArchitecture()
|
---|
260 | {
|
---|
261 | return $this->vmArchitecture;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @param VirtualMachineDiskDetails
|
---|
265 | */
|
---|
266 | public function setVmDisks(VirtualMachineDiskDetails $vmDisks)
|
---|
267 | {
|
---|
268 | $this->vmDisks = $vmDisks;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @return VirtualMachineDiskDetails
|
---|
272 | */
|
---|
273 | public function getVmDisks()
|
---|
274 | {
|
---|
275 | return $this->vmDisks;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @param string
|
---|
279 | */
|
---|
280 | public function setVmName($vmName)
|
---|
281 | {
|
---|
282 | $this->vmName = $vmName;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @return string
|
---|
286 | */
|
---|
287 | public function getVmName()
|
---|
288 | {
|
---|
289 | return $this->vmName;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @param VirtualMachineNetworkDetails
|
---|
293 | */
|
---|
294 | public function setVmNetwork(VirtualMachineNetworkDetails $vmNetwork)
|
---|
295 | {
|
---|
296 | $this->vmNetwork = $vmNetwork;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @return VirtualMachineNetworkDetails
|
---|
300 | */
|
---|
301 | public function getVmNetwork()
|
---|
302 | {
|
---|
303 | return $this->vmNetwork;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @param string
|
---|
307 | */
|
---|
308 | public function setVmUuid($vmUuid)
|
---|
309 | {
|
---|
310 | $this->vmUuid = $vmUuid;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @return string
|
---|
314 | */
|
---|
315 | public function getVmUuid()
|
---|
316 | {
|
---|
317 | return $this->vmUuid;
|
---|
318 | }
|
---|
319 | }
|
---|
320 |
|
---|
321 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
322 | class_alias(VirtualMachineDetails::class, 'Google_Service_MigrationCenterAPI_VirtualMachineDetails');
|
---|