Class: HostFirewallRule

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

Overview

urn:vim25HostFirewallRule

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
port - SOAP::SOAPInt
endPort - SOAP::SOAPInt
direction - HostFirewallRuleDirection
protocol - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], port = nil, endPort = nil, direction = nil, protocol = nil) ⇒ HostFirewallRule

Returns a new instance of HostFirewallRule.



21161
21162
21163
21164
21165
21166
21167
21168
# File 'lib/vmware/soap/vim25.rb', line 21161

def initialize(dynamicType = nil, dynamicProperty = [], port = nil, endPort = nil, direction = nil, protocol = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @port = port
  @endPort = endPort
  @direction = direction
  @protocol = protocol
end

Instance Attribute Details

#directionObject

Returns the value of attribute direction.



21158
21159
21160
# File 'lib/vmware/soap/vim25.rb', line 21158

def direction
  @direction
end

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



21155
21156
21157
# File 'lib/vmware/soap/vim25.rb', line 21155

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



21154
21155
21156
# File 'lib/vmware/soap/vim25.rb', line 21154

def dynamicType
  @dynamicType
end

#endPortObject

Returns the value of attribute endPort.



21157
21158
21159
# File 'lib/vmware/soap/vim25.rb', line 21157

def endPort
  @endPort
end

#portObject

Returns the value of attribute port.



21156
21157
21158
# File 'lib/vmware/soap/vim25.rb', line 21156

def port
  @port
end

#protocolObject

Returns the value of attribute protocol.



21159
21160
21161
# File 'lib/vmware/soap/vim25.rb', line 21159

def protocol
  @protocol
end