Class: Virtuozzo::SOAP::Types::Devm::Net_nicType

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

Overview

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

id - SOAP::SOAPString
ip_address - Virtuozzo::SOAP::Types::Devm::Ip_addressType
dhcp - (any)
network_id - SOAP::SOAPBase64
status - Virtuozzo::SOAP::Types::Devm::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.



2217
2218
2219
2220
2221
2222
2223
2224
# File 'lib/virtuozzo/soap/types/devm.rb', line 2217

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.



2212
2213
2214
# File 'lib/virtuozzo/soap/types/devm.rb', line 2212

def dhcp
  @dhcp
end

#idObject

Returns the value of attribute id.



2210
2211
2212
# File 'lib/virtuozzo/soap/types/devm.rb', line 2210

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



2211
2212
2213
# File 'lib/virtuozzo/soap/types/devm.rb', line 2211

def ip_address
  @ip_address
end

#mac_addressObject

Returns the value of attribute mac_address.



2215
2216
2217
# File 'lib/virtuozzo/soap/types/devm.rb', line 2215

def mac_address
  @mac_address
end

#network_idObject

Returns the value of attribute network_id.



2213
2214
2215
# File 'lib/virtuozzo/soap/types/devm.rb', line 2213

def network_id
  @network_id
end

#statusObject

Returns the value of attribute status.



2214
2215
2216
# File 'lib/virtuozzo/soap/types/devm.rb', line 2214

def status
  @status
end