Class: Virtuozzo::SOAP::Types::Support::Net_nicType

Inherits:
Net_deviceType show all
Defined in:
lib/virtuozzo/soap/types/support.rb

Overview

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

id - SOAP::SOAPString
ip_address - Virtuozzo::SOAP::Drivers::Support::Ip_addressType
dhcp - (any)
network_id - SOAP::SOAPBase64
status - Virtuozzo::SOAP::Drivers::Support::Net_nicType::Status
mac_address - SOAP::SOAPString

Direct Known Subclasses

Net_vethType

Defined Under Namespace

Classes: Status

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil) ⇒ Net_nicType

Returns a new instance of Net_nicType.



2143
2144
2145
2146
2147
2148
2149
2150
# File 'lib/virtuozzo/soap/types/support.rb', line 2143

def initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil)
  @id = id
  @ip_address = ip_address
  @dhcp = dhcp
  @network_id = network_id
  @status = status
  @mac_address = mac_address
end

Instance Attribute Details

#dhcpObject

Returns the value of attribute dhcp.



2138
2139
2140
# File 'lib/virtuozzo/soap/types/support.rb', line 2138

def dhcp
  @dhcp
end

#idObject

Returns the value of attribute id.



2136
2137
2138
# File 'lib/virtuozzo/soap/types/support.rb', line 2136

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



2137
2138
2139
# File 'lib/virtuozzo/soap/types/support.rb', line 2137

def ip_address
  @ip_address
end

#mac_addressObject

Returns the value of attribute mac_address.



2141
2142
2143
# File 'lib/virtuozzo/soap/types/support.rb', line 2141

def mac_address
  @mac_address
end

#network_idObject

Returns the value of attribute network_id.



2139
2140
2141
# File 'lib/virtuozzo/soap/types/support.rb', line 2139

def network_id
  @network_id
end

#statusObject

Returns the value of attribute status.



2140
2141
2142
# File 'lib/virtuozzo/soap/types/support.rb', line 2140

def status
  @status
end