Class: Virtuozzo::SOAP::Types::Backupm::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Backupm::ResourceType
- Defined in:
- lib/virtuozzo/soap/types/backupm.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.
610 611 612 613 614 615 616 617 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 610 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.
606 607 608 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 606 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
605 606 607 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 605 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
608 609 610 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 608 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
607 608 609 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 607 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
603 604 605 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 603 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
604 605 606 |
# File 'lib/virtuozzo/soap/types/backupm.rb', line 604 def used @used end |