Class: Virtuozzo::SOAP::Types::Devm::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Devm::ResourceType
- Defined in:
- lib/virtuozzo/soap/types/devm.rb
Overview
Direct Known Subclasses
Instance Attribute Summary collapse
-
#avg ⇒ Object
Returns the value of attribute avg.
-
#free ⇒ Object
Returns the value of attribute free.
-
#max ⇒ Object
Returns the value of attribute max.
-
#min ⇒ Object
Returns the value of attribute min.
-
#total ⇒ Object
Returns the value of attribute total.
-
#used ⇒ Object
Returns the value of attribute used.
Instance Method Summary collapse
-
#initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil) ⇒ ResourceType
constructor
A new instance of ResourceType.
Constructor Details
#initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil) ⇒ ResourceType
Returns a new instance of ResourceType.
1108 1109 1110 1111 1112 1113 1114 1115 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 1108 def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil) @total = total @used = used @free = free @avg = avg @min = min @max = max end |
Instance Attribute Details
#avg ⇒ Object
Returns the value of attribute avg.
1104 1105 1106 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 1104 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
1103 1104 1105 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 1103 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
1106 1107 1108 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 1106 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1105 1106 1107 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 1105 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
1101 1102 1103 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 1101 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
1102 1103 1104 |
# File 'lib/virtuozzo/soap/types/devm.rb', line 1102 def used @used end |