Class: RtmHddStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/ovhrb/manager/manager.rb

Overview

Constant Summary collapse

@@schema_type =
"rtmHddStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["device", ["SOAP::SOAPString", XSD::QName.new(nil, "device")]], ["model", ["SOAP::SOAPString", XSD::QName.new(nil, "model")]], ["capacity", ["SOAP::SOAPString", XSD::QName.new(nil, "capacity")]], ["partitions", ["MyArrayOfRtmHddPartitionStructType", XSD::QName.new(nil, "partitions")]], ["smart", ["RtmHddSmartStruct", XSD::QName.new(nil, "smart")]], ["temperature", ["SOAP::SOAPInt", XSD::QName.new(nil, "temperature")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(device = nil, model = nil, capacity = nil, partitions = nil, smart = nil, temperature = nil) ⇒ RtmHddStruct

Returns a new instance of RtmHddStruct.



2754
2755
2756
2757
2758
2759
2760
2761
# File 'lib/ovhrb/manager/manager.rb', line 2754

def initialize(device = nil, model = nil, capacity = nil, partitions = nil, smart = nil, temperature = nil)
  @device = device
  @model = model
  @capacity = capacity
  @partitions = partitions
  @smart = smart
  @temperature = temperature
end

Instance Attribute Details

#capacityObject

Returns the value of attribute capacity.



2749
2750
2751
# File 'lib/ovhrb/manager/manager.rb', line 2749

def capacity
  @capacity
end

#deviceObject

Returns the value of attribute device.



2747
2748
2749
# File 'lib/ovhrb/manager/manager.rb', line 2747

def device
  @device
end

#modelObject

Returns the value of attribute model.



2748
2749
2750
# File 'lib/ovhrb/manager/manager.rb', line 2748

def model
  @model
end

#partitionsObject

Returns the value of attribute partitions.



2750
2751
2752
# File 'lib/ovhrb/manager/manager.rb', line 2750

def partitions
  @partitions
end

#smartObject

Returns the value of attribute smart.



2751
2752
2753
# File 'lib/ovhrb/manager/manager.rb', line 2751

def smart
  @smart
end

#temperatureObject

Returns the value of attribute temperature.



2752
2753
2754
# File 'lib/ovhrb/manager/manager.rb', line 2752

def temperature
  @temperature
end