Class: Virtuozzo::SOAP::Types::Computerm::Network

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

Instance Method Summary collapse

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_gatewayObject

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

#hostnameObject

Returns the value of attribute hostname.



2074
2075
2076
# File 'lib/virtuozzo/soap/types/computerm.rb', line 2074

def hostname
  @hostname
end

#interfaceObject

Returns the value of attribute interface.



2076
2077
2078
# File 'lib/virtuozzo/soap/types/computerm.rb', line 2076

def interface
  @interface
end

#nameserverObject

Returns the value of attribute nameserver.



2073
2074
2075
# File 'lib/virtuozzo/soap/types/computerm.rb', line 2073

def nameserver
  @nameserver
end