Class: Virtuozzo::SOAP::Types::Packagem::Net_nicType
- Inherits:
-
Net_deviceType
- Object
- Net_deviceType
- Virtuozzo::SOAP::Types::Packagem::Net_nicType
- Defined in:
- lib/virtuozzo/soap/types/packagem.rb
Overview
Direct Known Subclasses
Defined Under Namespace
Classes: Status
Instance Attribute Summary collapse
-
#dhcp ⇒ Object
Returns the value of attribute dhcp.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#mac_address ⇒ Object
Returns the value of attribute mac_address.
-
#network_id ⇒ Object
Returns the value of attribute network_id.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(id = nil, ip_address = [], dhcp = nil, network_id = nil, status = nil, mac_address = nil) ⇒ Net_nicType
constructor
A new instance of Net_nicType.
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.
2265 2266 2267 2268 2269 2270 2271 2272 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2265 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
#dhcp ⇒ Object
Returns the value of attribute dhcp.
2260 2261 2262 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2260 def dhcp @dhcp end |
#id ⇒ Object
Returns the value of attribute id.
2258 2259 2260 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2258 def id @id end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
2259 2260 2261 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2259 def ip_address @ip_address end |
#mac_address ⇒ Object
Returns the value of attribute mac_address.
2263 2264 2265 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2263 def mac_address @mac_address end |
#network_id ⇒ Object
Returns the value of attribute network_id.
2261 2262 2263 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2261 def network_id @network_id end |
#status ⇒ Object
Returns the value of attribute status.
2262 2263 2264 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 2262 def status @status end |