Class: RtmCpuStruct
- Inherits:
-
Object
- Object
- RtmCpuStruct
- Defined in:
- lib/ovhrb/manager/manager.rb
Overview
http://soapi.ovh.com/managerrtmCpuStruct
Constant Summary collapse
- @@schema_type =
"rtmCpuStruct"
- @@schema_ns =
"http://soapi.ovh.com/manager"
- @@schema_element =
[["frequency", ["SOAP::SOAPString", XSD::QName.new(nil, "frequency")]], ["core", ["SOAP::SOAPInt", XSD::QName.new(nil, "core")]], ["name", ["SOAP::SOAPString", XSD::QName.new(nil, "name")]], ["cache", ["SOAP::SOAPString", XSD::QName.new(nil, "cache")]], ["percentLoad", ["SOAP::SOAPInt", XSD::QName.new(nil, "percentLoad")]], ["loadAvg", ["RtmCpuLoadAvgStruct", XSD::QName.new(nil, "loadAvg")]]]
Instance Attribute Summary collapse
-
#cache ⇒ Object
Returns the value of attribute cache.
-
#core ⇒ Object
Returns the value of attribute core.
-
#frequency ⇒ Object
Returns the value of attribute frequency.
-
#loadAvg ⇒ Object
Returns the value of attribute loadAvg.
-
#name ⇒ Object
Returns the value of attribute name.
-
#percentLoad ⇒ Object
Returns the value of attribute percentLoad.
Instance Method Summary collapse
-
#initialize(frequency = nil, core = nil, name = nil, cache = nil, percentLoad = nil, loadAvg = nil) ⇒ RtmCpuStruct
constructor
A new instance of RtmCpuStruct.
Constructor Details
#initialize(frequency = nil, core = nil, name = nil, cache = nil, percentLoad = nil, loadAvg = nil) ⇒ RtmCpuStruct
Returns a new instance of RtmCpuStruct.
2714 2715 2716 2717 2718 2719 2720 2721 |
# File 'lib/ovhrb/manager/manager.rb', line 2714 def initialize(frequency = nil, core = nil, name = nil, cache = nil, percentLoad = nil, loadAvg = nil) @frequency = frequency @core = core @name = name @cache = cache @percentLoad = percentLoad @loadAvg = loadAvg end |
Instance Attribute Details
#cache ⇒ Object
Returns the value of attribute cache.
2710 2711 2712 |
# File 'lib/ovhrb/manager/manager.rb', line 2710 def cache @cache end |
#core ⇒ Object
Returns the value of attribute core.
2708 2709 2710 |
# File 'lib/ovhrb/manager/manager.rb', line 2708 def core @core end |
#frequency ⇒ Object
Returns the value of attribute frequency.
2707 2708 2709 |
# File 'lib/ovhrb/manager/manager.rb', line 2707 def frequency @frequency end |
#loadAvg ⇒ Object
Returns the value of attribute loadAvg.
2712 2713 2714 |
# File 'lib/ovhrb/manager/manager.rb', line 2712 def loadAvg @loadAvg end |
#name ⇒ Object
Returns the value of attribute name.
2709 2710 2711 |
# File 'lib/ovhrb/manager/manager.rb', line 2709 def name @name end |
#percentLoad ⇒ Object
Returns the value of attribute percentLoad.
2711 2712 2713 |
# File 'lib/ovhrb/manager/manager.rb', line 2711 def percentLoad @percentLoad end |