Class: Virtuozzo::SOAP::Drivers::Device::InterfaceType

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

Overview

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

name - SOAP::SOAPString
bandwidth - SOAP::SOAPInt
transfer - Virtuozzo::SOAP::Drivers::Device::TransferType
ipaddress - (any)
flags - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil) ⇒ InterfaceType

Returns a new instance of InterfaceType.



1244
1245
1246
1247
1248
1249
1250
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1244

def initialize(name = nil, bandwidth = nil, transfer = nil, ipaddress = nil, flags = nil)
  @name = name
  @bandwidth = bandwidth
  @transfer = transfer
  @ipaddress = ipaddress
  @flags = flags
end

Instance Attribute Details

#bandwidthObject

Returns the value of attribute bandwidth.



1239
1240
1241
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1239

def bandwidth
  @bandwidth
end

#flagsObject

Returns the value of attribute flags.



1242
1243
1244
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1242

def flags
  @flags
end

#ipaddressObject

Returns the value of attribute ipaddress.



1241
1242
1243
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1241

def ipaddress
  @ipaddress
end

#nameObject

Returns the value of attribute name.



1238
1239
1240
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1238

def name
  @name
end

#transferObject

Returns the value of attribute transfer.



1240
1241
1242
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1240

def transfer
  @transfer
end