Class: ResourceConfigSpec

Inherits:
DynamicData show all
Defined in:
lib/vmware/soap/vim25.rb

Overview

urn:vim25ResourceConfigSpec

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
entity - ManagedObjectReference
changeVersion - SOAP::SOAPString
lastModified - SOAP::SOAPDateTime
cpuAllocation - ResourceAllocationInfo
memoryAllocation - ResourceAllocationInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], entity = nil, changeVersion = nil, lastModified = nil, cpuAllocation = nil, memoryAllocation = nil) ⇒ ResourceConfigSpec

Returns a new instance of ResourceConfigSpec.



2040
2041
2042
2043
2044
2045
2046
2047
2048
# File 'lib/vmware/soap/vim25.rb', line 2040

def initialize(dynamicType = nil, dynamicProperty = [], entity = nil, changeVersion = nil, lastModified = nil, cpuAllocation = nil, memoryAllocation = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @entity = entity
  @changeVersion = changeVersion
  @lastModified = lastModified
  @cpuAllocation = cpuAllocation
  @memoryAllocation = memoryAllocation
end

Instance Attribute Details

#changeVersionObject

Returns the value of attribute changeVersion.



2035
2036
2037
# File 'lib/vmware/soap/vim25.rb', line 2035

def changeVersion
  @changeVersion
end

#cpuAllocationObject

Returns the value of attribute cpuAllocation.



2037
2038
2039
# File 'lib/vmware/soap/vim25.rb', line 2037

def cpuAllocation
  @cpuAllocation
end

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



2033
2034
2035
# File 'lib/vmware/soap/vim25.rb', line 2033

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



2032
2033
2034
# File 'lib/vmware/soap/vim25.rb', line 2032

def dynamicType
  @dynamicType
end

#entityObject

Returns the value of attribute entity.



2034
2035
2036
# File 'lib/vmware/soap/vim25.rb', line 2034

def entity
  @entity
end

#lastModifiedObject

Returns the value of attribute lastModified.



2036
2037
2038
# File 'lib/vmware/soap/vim25.rb', line 2036

def lastModified
  @lastModified
end

#memoryAllocationObject

Returns the value of attribute memoryAllocation.



2038
2039
2040
# File 'lib/vmware/soap/vim25.rb', line 2038

def memoryAllocation
  @memoryAllocation
end