Class: VirtualHardware

Inherits:
DynamicData show all
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

Instance Method Summary collapse

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

#deviceObject

Returns the value of attribute device.



24479
24480
24481
# File 'lib/vmware/soap/vim25.rb', line 24479

def device
  @device
end

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



24476
24477
24478
# File 'lib/vmware/soap/vim25.rb', line 24476

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



24475
24476
24477
# File 'lib/vmware/soap/vim25.rb', line 24475

def dynamicType
  @dynamicType
end

#memoryMBObject

Returns the value of attribute memoryMB.



24478
24479
24480
# File 'lib/vmware/soap/vim25.rb', line 24478

def memoryMB
  @memoryMB
end

#numCPUObject

Returns the value of attribute numCPU.



24477
24478
24479
# File 'lib/vmware/soap/vim25.rb', line 24477

def numCPU
  @numCPU
end