Class: Virtuozzo::SOAP::Types::Firewallm::Port_rangeType

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_portObject

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_portObject

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