Class: Virtuozzo::SOAP::Types::Networkm::Net_configType::Interface

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/networkm.rb

Overview

inner class for member: interface http://www.swsoft.com/webservices/vza/4.0.0/vzanetworkminterface

net_device_id - SOAP::SOAPString
bandwidth - SOAP::SOAPLong

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(net_device_id = nil, bandwidth = nil) ⇒ Interface

Returns a new instance of Interface.



38
39
40
41
# File 'lib/virtuozzo/soap/types/networkm.rb', line 38

def initialize(net_device_id = nil, bandwidth = nil)
  @net_device_id = net_device_id
  @bandwidth = bandwidth
end

Instance Attribute Details

#bandwidthObject

Returns the value of attribute bandwidth.



36
37
38
# File 'lib/virtuozzo/soap/types/networkm.rb', line 36

def bandwidth
  @bandwidth
end

#net_device_idObject

Returns the value of attribute net_device_id.



35
36
37
# File 'lib/virtuozzo/soap/types/networkm.rb', line 35

def net_device_id
  @net_device_id
end