Class: VirtualServerBasicInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/api/virtualserver/VirtualServer.rb

Overview

/VirtualServer.BasicInfo

port - SOAP::SOAPInt
protocol - VirtualServerProtocol
default_pool - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(port = nil, protocol = nil, default_pool = nil) ⇒ VirtualServerBasicInfo

Returns a new instance of VirtualServerBasicInfo.



12
13
14
15
16
# File 'lib/api/virtualserver/VirtualServer.rb', line 12

def initialize(port = nil, protocol = nil, default_pool = nil)
  @port = port
  @protocol = protocol
  @default_pool = default_pool
end

Instance Attribute Details

#default_poolObject

Returns the value of attribute default_pool.



10
11
12
# File 'lib/api/virtualserver/VirtualServer.rb', line 10

def default_pool
  @default_pool
end

#portObject

Returns the value of attribute port.



8
9
10
# File 'lib/api/virtualserver/VirtualServer.rb', line 8

def port
  @port
end

#protocolObject

Returns the value of attribute protocol.



9
10
11
# File 'lib/api/virtualserver/VirtualServer.rb', line 9

def protocol
  @protocol
end