Class: Virtuozzo::SOAP::Types::Resourcem::Ip_rangeType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/resourcem.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/typesip_rangeType

id - SOAP::SOAPString
start_ip - (any)
subnet_mask - SOAP::SOAPInt
comment - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil) ⇒ Ip_rangeType

Returns a new instance of Ip_rangeType.



533
534
535
536
537
538
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 533

def initialize(id = nil, start_ip = nil, subnet_mask = nil, comment = nil)
  @id = id
  @start_ip = start_ip
  @subnet_mask = subnet_mask
  @comment = comment
end

Instance Attribute Details

#commentObject

Returns the value of attribute comment.



531
532
533
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 531

def comment
  @comment
end

#idObject

Returns the value of attribute id.



528
529
530
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 528

def id
  @id
end

#start_ipObject

Returns the value of attribute start_ip.



529
530
531
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 529

def start_ip
  @start_ip
end

#subnet_maskObject

Returns the value of attribute subnet_mask.



530
531
532
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 530

def subnet_mask
  @subnet_mask
end