Class: Virtuozzo::SOAP::Types::Up2date::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Up2date::ResourceType
- Defined in:
- lib/virtuozzo/soap/types/up2date.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.
1212 1213 1214 1215 1216 1217 1218 1219 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1212 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.
1208 1209 1210 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1208 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
1207 1208 1209 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1207 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
1210 1211 1212 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1210 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1209 1210 1211 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1209 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
1205 1206 1207 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1205 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
1206 1207 1208 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1206 def used @used end |