Class: Virtuozzo::SOAP::Types::Computerm::Network
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Computerm::Network
- Defined in:
- lib/virtuozzo/soap/types/computerm.rb
Overview
http://www.swsoft.com/webservices/vzl/4.0.0/computermnetwork
nameserver - SOAP::SOAPString
hostname - SOAP::SOAPString
default_gateway - SOAP::SOAPString
interface - Virtuozzo::SOAP::Types::Computerm::InterfaceType
Instance Attribute Summary collapse
-
#default_gateway ⇒ Object
Returns the value of attribute default_gateway.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#interface ⇒ Object
Returns the value of attribute interface.
-
#nameserver ⇒ Object
Returns the value of attribute nameserver.
Instance Method Summary collapse
-
#initialize(nameserver = [], hostname = nil, default_gateway = nil, interface = []) ⇒ Network
constructor
A new instance of Network.
Constructor Details
#initialize(nameserver = [], hostname = nil, default_gateway = nil, interface = []) ⇒ Network
Returns a new instance of Network.
2078 2079 2080 2081 2082 2083 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 2078 def initialize(nameserver = [], hostname = nil, default_gateway = nil, interface = []) @nameserver = nameserver @hostname = hostname @default_gateway = default_gateway @interface = interface end |
Instance Attribute Details
#default_gateway ⇒ Object
Returns the value of attribute default_gateway.
2075 2076 2077 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 2075 def default_gateway @default_gateway end |
#hostname ⇒ Object
Returns the value of attribute hostname.
2074 2075 2076 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 2074 def hostname @hostname end |
#interface ⇒ Object
Returns the value of attribute interface.
2076 2077 2078 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 2076 def interface @interface end |
#nameserver ⇒ Object
Returns the value of attribute nameserver.
2073 2074 2075 |
# File 'lib/virtuozzo/soap/types/computerm.rb', line 2073 def nameserver @nameserver end |