Class: HostPortGroupSpec

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

Overview

urn:vim25HostPortGroupSpec

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
name - SOAP::SOAPString
vlanId - SOAP::SOAPInt
vswitchName - SOAP::SOAPString
policy - HostNetworkPolicy

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], name = nil, vlanId = nil, vswitchName = nil, policy = nil) ⇒ HostPortGroupSpec

Returns a new instance of HostPortGroupSpec.



21067
21068
21069
21070
21071
21072
21073
21074
# File 'lib/vmware/soap/vim25.rb', line 21067

def initialize(dynamicType = nil, dynamicProperty = [], name = nil, vlanId = nil, vswitchName = nil, policy = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @name = name
  @vlanId = vlanId
  @vswitchName = vswitchName
  @policy = policy
end

Instance Attribute Details

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



21061
21062
21063
# File 'lib/vmware/soap/vim25.rb', line 21061

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



21060
21061
21062
# File 'lib/vmware/soap/vim25.rb', line 21060

def dynamicType
  @dynamicType
end

#nameObject

Returns the value of attribute name.



21062
21063
21064
# File 'lib/vmware/soap/vim25.rb', line 21062

def name
  @name
end

#policyObject

Returns the value of attribute policy.



21065
21066
21067
# File 'lib/vmware/soap/vim25.rb', line 21065

def policy
  @policy
end

#vlanIdObject

Returns the value of attribute vlanId.



21063
21064
21065
# File 'lib/vmware/soap/vim25.rb', line 21063

def vlanId
  @vlanId
end

#vswitchNameObject

Returns the value of attribute vswitchName.



21064
21065
21066
# File 'lib/vmware/soap/vim25.rb', line 21064

def vswitchName
  @vswitchName
end