Class: Virtuozzo::SOAP::Types::Firewallm::RuleType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Firewallm::RuleType
- Defined in:
- lib/virtuozzo/soap/types/firewallm.rb
Overview
http://www.swsoft.com/webservices/vzl/4.0.0/firewallmruleType
name - SOAP::SOAPString
protocol - Virtuozzo::SOAP::Types::Firewallm::Transport_type
chain - Virtuozzo::SOAP::Types::Firewallm::ChainType
policy - Virtuozzo::SOAP::Types::Firewallm::PolicyType
allowed - SOAP::SOAPBoolean
src_addr - Virtuozzo::SOAP::Types::Firewallm::Net_addressType
dst_addr - Virtuozzo::SOAP::Types::Firewallm::Net_addressType
src_ports - Virtuozzo::SOAP::Types::Firewallm::Port_rangeType
dst_ports - Virtuozzo::SOAP::Types::Firewallm::Port_rangeType
input_iface - SOAP::SOAPString
output_iface - SOAP::SOAPString
Instance Attribute Summary collapse
-
#allowed ⇒ Object
Returns the value of attribute allowed.
-
#chain ⇒ Object
Returns the value of attribute chain.
-
#dst_addr ⇒ Object
Returns the value of attribute dst_addr.
-
#dst_ports ⇒ Object
Returns the value of attribute dst_ports.
-
#input_iface ⇒ Object
Returns the value of attribute input_iface.
-
#name ⇒ Object
Returns the value of attribute name.
-
#output_iface ⇒ Object
Returns the value of attribute output_iface.
-
#policy ⇒ Object
Returns the value of attribute policy.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#src_addr ⇒ Object
Returns the value of attribute src_addr.
-
#src_ports ⇒ Object
Returns the value of attribute src_ports.
Instance Method Summary collapse
-
#initialize(name = nil, protocol = nil, chain = nil, policy = nil, allowed = nil, src_addr = nil, dst_addr = nil, src_ports = nil, dst_ports = nil, input_iface = nil, output_iface = nil) ⇒ RuleType
constructor
A new instance of RuleType.
Constructor Details
#initialize(name = nil, protocol = nil, chain = nil, policy = nil, allowed = nil, src_addr = nil, dst_addr = nil, src_ports = nil, dst_ports = nil, input_iface = nil, output_iface = nil) ⇒ RuleType
Returns a new instance of RuleType.
46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 46 def initialize(name = nil, protocol = nil, chain = nil, policy = nil, allowed = nil, src_addr = nil, dst_addr = nil, src_ports = nil, dst_ports = nil, input_iface = nil, output_iface = nil) @name = name @protocol = protocol @chain = chain @policy = policy @allowed = allowed @src_addr = src_addr @dst_addr = dst_addr @src_ports = src_ports @dst_ports = dst_ports @input_iface = input_iface @output_iface = output_iface end |
Instance Attribute Details
#allowed ⇒ Object
Returns the value of attribute allowed.
38 39 40 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 38 def allowed @allowed end |
#chain ⇒ Object
Returns the value of attribute chain.
36 37 38 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 36 def chain @chain end |
#dst_addr ⇒ Object
Returns the value of attribute dst_addr.
40 41 42 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 40 def dst_addr @dst_addr end |
#dst_ports ⇒ Object
Returns the value of attribute dst_ports.
42 43 44 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 42 def dst_ports @dst_ports end |
#input_iface ⇒ Object
Returns the value of attribute input_iface.
43 44 45 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 43 def input_iface @input_iface end |
#name ⇒ Object
Returns the value of attribute name.
34 35 36 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 34 def name @name end |
#output_iface ⇒ Object
Returns the value of attribute output_iface.
44 45 46 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 44 def output_iface @output_iface end |
#policy ⇒ Object
Returns the value of attribute policy.
37 38 39 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 37 def policy @policy end |
#protocol ⇒ Object
Returns the value of attribute protocol.
35 36 37 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 35 def protocol @protocol end |
#src_addr ⇒ Object
Returns the value of attribute src_addr.
39 40 41 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 39 def src_addr @src_addr end |
#src_ports ⇒ Object
Returns the value of attribute src_ports.
41 42 43 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 41 def src_ports @src_ports end |