Class: HostShutdownEvent

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

Overview

urn:vim25HostShutdownEvent

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
key - SOAP::SOAPInt
chainId - SOAP::SOAPInt
createdTime - SOAP::SOAPDateTime
userName - SOAP::SOAPString
datacenter - DatacenterEventArgument
computeResource - ComputeResourceEventArgument
host - HostEventArgument
vm - VmEventArgument
fullFormattedMessage - SOAP::SOAPString
reason - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], key = nil, chainId = nil, createdTime = nil, userName = nil, datacenter = nil, computeResource = nil, host = nil, vm = nil, fullFormattedMessage = nil, reason = nil) ⇒ HostShutdownEvent

Returns a new instance of HostShutdownEvent.



5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
# File 'lib/vmware/soap/vim25.rb', line 5928

def initialize(dynamicType = nil, dynamicProperty = [], key = nil, chainId = nil, createdTime = nil, userName = nil, datacenter = nil, computeResource = nil, host = nil, vm = nil, fullFormattedMessage = nil, reason = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @key = key
  @chainId = chainId
  @createdTime = createdTime
  @userName = userName
  @datacenter = datacenter
  @computeResource = computeResource
  @host = host
  @vm = vm
  @fullFormattedMessage = fullFormattedMessage
  @reason = reason
end

Instance Attribute Details

#chainIdObject

Returns the value of attribute chainId.



5918
5919
5920
# File 'lib/vmware/soap/vim25.rb', line 5918

def chainId
  @chainId
end

#computeResourceObject

Returns the value of attribute computeResource.



5922
5923
5924
# File 'lib/vmware/soap/vim25.rb', line 5922

def computeResource
  @computeResource
end

#createdTimeObject

Returns the value of attribute createdTime.



5919
5920
5921
# File 'lib/vmware/soap/vim25.rb', line 5919

def createdTime
  @createdTime
end

#datacenterObject

Returns the value of attribute datacenter.



5921
5922
5923
# File 'lib/vmware/soap/vim25.rb', line 5921

def datacenter
  @datacenter
end

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



5916
5917
5918
# File 'lib/vmware/soap/vim25.rb', line 5916

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



5915
5916
5917
# File 'lib/vmware/soap/vim25.rb', line 5915

def dynamicType
  @dynamicType
end

#fullFormattedMessageObject

Returns the value of attribute fullFormattedMessage.



5925
5926
5927
# File 'lib/vmware/soap/vim25.rb', line 5925

def fullFormattedMessage
  @fullFormattedMessage
end

#hostObject

Returns the value of attribute host.



5923
5924
5925
# File 'lib/vmware/soap/vim25.rb', line 5923

def host
  @host
end

#keyObject

Returns the value of attribute key.



5917
5918
5919
# File 'lib/vmware/soap/vim25.rb', line 5917

def key
  @key
end

#reasonObject

Returns the value of attribute reason.



5926
5927
5928
# File 'lib/vmware/soap/vim25.rb', line 5926

def reason
  @reason
end

#userNameObject

Returns the value of attribute userName.



5920
5921
5922
# File 'lib/vmware/soap/vim25.rb', line 5920

def userName
  @userName
end

#vmObject

Returns the value of attribute vm.



5924
5925
5926
# File 'lib/vmware/soap/vim25.rb', line 5924

def vm
  @vm
end