Class: Virtuozzo::SOAP::Types::Firewallm::Port_rangeType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Firewallm::Port_rangeType
- Defined in:
- lib/virtuozzo/soap/types/firewallm.rb
Overview
http://www.swsoft.com/webservices/vzl/4.0.0/firewallmport_rangeType
first_port - SOAP::SOAPInt
last_port - SOAP::SOAPInt
Instance Attribute Summary collapse
-
#first_port ⇒ Object
Returns the value of attribute first_port.
-
#last_port ⇒ Object
Returns the value of attribute last_port.
Instance Method Summary collapse
-
#initialize(first_port = nil, last_port = nil) ⇒ Port_rangeType
constructor
A new instance of Port_rangeType.
Constructor Details
#initialize(first_port = nil, last_port = nil) ⇒ Port_rangeType
Returns a new instance of Port_rangeType.
15 16 17 18 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 15 def initialize(first_port = nil, last_port = nil) @first_port = first_port @last_port = last_port end |
Instance Attribute Details
#first_port ⇒ Object
Returns the value of attribute first_port.
12 13 14 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 12 def first_port @first_port end |
#last_port ⇒ Object
Returns the value of attribute last_port.
13 14 15 |
# File 'lib/virtuozzo/soap/types/firewallm.rb', line 13 def last_port @last_port end |