Class: VirtualHardware
- Inherits:
-
DynamicData
- Object
- DynamicData
- VirtualHardware
- Defined in:
- lib/vmware/soap/vim25.rb
Overview
urn:vim25VirtualHardware
dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
numCPU - SOAP::SOAPInt
memoryMB - SOAP::SOAPInt
device - VirtualDevice
Instance Attribute Summary collapse
-
#device ⇒ Object
Returns the value of attribute device.
-
#dynamicProperty ⇒ Object
Returns the value of attribute dynamicProperty.
-
#dynamicType ⇒ Object
Returns the value of attribute dynamicType.
-
#memoryMB ⇒ Object
Returns the value of attribute memoryMB.
-
#numCPU ⇒ Object
Returns the value of attribute numCPU.
Instance Method Summary collapse
-
#initialize(dynamicType = nil, dynamicProperty = [], numCPU = nil, memoryMB = nil, device = []) ⇒ VirtualHardware
constructor
A new instance of VirtualHardware.
Constructor Details
#initialize(dynamicType = nil, dynamicProperty = [], numCPU = nil, memoryMB = nil, device = []) ⇒ VirtualHardware
Returns a new instance of VirtualHardware.
24481 24482 24483 24484 24485 24486 24487 |
# File 'lib/vmware/soap/vim25.rb', line 24481 def initialize(dynamicType = nil, dynamicProperty = [], numCPU = nil, memoryMB = nil, device = []) @dynamicType = dynamicType @dynamicProperty = dynamicProperty @numCPU = numCPU @memoryMB = memoryMB @device = device end |
Instance Attribute Details
#device ⇒ Object
Returns the value of attribute device.
24479 24480 24481 |
# File 'lib/vmware/soap/vim25.rb', line 24479 def device @device end |
#dynamicProperty ⇒ Object
Returns the value of attribute dynamicProperty.
24476 24477 24478 |
# File 'lib/vmware/soap/vim25.rb', line 24476 def dynamicProperty @dynamicProperty end |
#dynamicType ⇒ Object
Returns the value of attribute dynamicType.
24475 24476 24477 |
# File 'lib/vmware/soap/vim25.rb', line 24475 def dynamicType @dynamicType end |
#memoryMB ⇒ Object
Returns the value of attribute memoryMB.
24478 24479 24480 |
# File 'lib/vmware/soap/vim25.rb', line 24478 def memoryMB @memoryMB end |
#numCPU ⇒ Object
Returns the value of attribute numCPU.
24477 24478 24479 |
# File 'lib/vmware/soap/vim25.rb', line 24477 def numCPU @numCPU end |