Class: DedicatedFreedomStruct

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#assignedObject

Returns the value of attribute assigned.



2060
2061
2062
# File 'lib/ovhrb/manager/manager.rb', line 2060

def assigned
  @assigned
end

#presetObject

Returns the value of attribute preset.



2062
2063
2064
# File 'lib/ovhrb/manager/manager.rb', line 2062

def preset
  @preset
end

#remainingObject

Returns the value of attribute remaining.



2059
2060
2061
# File 'lib/ovhrb/manager/manager.rb', line 2059

def remaining
  @remaining
end

#totalObject

Returns the value of attribute total.



2061
2062
2063
# File 'lib/ovhrb/manager/manager.rb', line 2061

def total
  @total
end