Class: RtmHddStruct
- Inherits:
-
Object
- Object
- RtmHddStruct
- Defined in:
- lib/ovhrb/manager/manager.rb
Overview
http://soapi.ovh.com/managerrtmHddStruct
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
-
#capacity ⇒ Object
Returns the value of attribute capacity.
-
#device ⇒ Object
Returns the value of attribute device.
-
#model ⇒ Object
Returns the value of attribute model.
-
#partitions ⇒ Object
Returns the value of attribute partitions.
-
#smart ⇒ Object
Returns the value of attribute smart.
-
#temperature ⇒ Object
Returns the value of attribute temperature.
Instance Method Summary collapse
-
#initialize(device = nil, model = nil, capacity = nil, partitions = nil, smart = nil, temperature = nil) ⇒ RtmHddStruct
constructor
A new instance of RtmHddStruct.
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
#capacity ⇒ Object
Returns the value of attribute capacity.
2749 2750 2751 |
# File 'lib/ovhrb/manager/manager.rb', line 2749 def capacity @capacity end |
#device ⇒ Object
Returns the value of attribute device.
2747 2748 2749 |
# File 'lib/ovhrb/manager/manager.rb', line 2747 def device @device end |
#model ⇒ Object
Returns the value of attribute model.
2748 2749 2750 |
# File 'lib/ovhrb/manager/manager.rb', line 2748 def model @model end |
#partitions ⇒ Object
Returns the value of attribute partitions.
2750 2751 2752 |
# File 'lib/ovhrb/manager/manager.rb', line 2750 def partitions @partitions end |
#smart ⇒ Object
Returns the value of attribute smart.
2751 2752 2753 |
# File 'lib/ovhrb/manager/manager.rb', line 2751 def smart @smart end |
#temperature ⇒ Object
Returns the value of attribute temperature.
2752 2753 2754 |
# File 'lib/ovhrb/manager/manager.rb', line 2752 def temperature @temperature end |