Class: DedicatedFreedomStruct
- Inherits:
-
Object
- Object
- DedicatedFreedomStruct
- Defined in:
- lib/ovhrb/manager/manager.rb
Overview
http://soapi.ovh.com/managerdedicatedFreedomStruct
Constant Summary collapse
- @@schema_type =
"dedicatedFreedomStruct"
- @@schema_ns =
"http://soapi.ovh.com/manager"
- @@schema_element =
[["remaining", ["SOAP::SOAPInt", XSD::QName.new(nil, "remaining")]], ["assigned", ["SOAP::SOAPInt", XSD::QName.new(nil, "assigned")]], ["total", ["SOAP::SOAPInt", XSD::QName.new(nil, "total")]], ["preset", ["SOAP::SOAPInt", XSD::QName.new(nil, "preset")]]]
Instance Attribute Summary collapse
-
#assigned ⇒ Object
Returns the value of attribute assigned.
-
#preset ⇒ Object
Returns the value of attribute preset.
-
#remaining ⇒ Object
Returns the value of attribute remaining.
-
#total ⇒ Object
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(remaining = nil, assigned = nil, total = nil, preset = nil) ⇒ DedicatedFreedomStruct
constructor
A new instance of DedicatedFreedomStruct.
Constructor Details
#initialize(remaining = nil, assigned = nil, total = nil, preset = nil) ⇒ DedicatedFreedomStruct
Returns a new instance of DedicatedFreedomStruct.
2064 2065 2066 2067 2068 2069 |
# File 'lib/ovhrb/manager/manager.rb', line 2064 def initialize(remaining = nil, assigned = nil, total = nil, preset = nil) @remaining = remaining @assigned = assigned @total = total @preset = preset end |
Instance Attribute Details
#assigned ⇒ Object
Returns the value of attribute assigned.
2060 2061 2062 |
# File 'lib/ovhrb/manager/manager.rb', line 2060 def assigned @assigned end |
#preset ⇒ Object
Returns the value of attribute preset.
2062 2063 2064 |
# File 'lib/ovhrb/manager/manager.rb', line 2062 def preset @preset end |
#remaining ⇒ Object
Returns the value of attribute remaining.
2059 2060 2061 |
# File 'lib/ovhrb/manager/manager.rb', line 2059 def remaining @remaining end |
#total ⇒ Object
Returns the value of attribute total.
2061 2062 2063 |
# File 'lib/ovhrb/manager/manager.rb', line 2061 def total @total end |