Class: Virtuozzo::SOAP::Types::Scheduler::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Scheduler::ResourceType
- Defined in:
- lib/virtuozzo/soap/types/scheduler.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.
539 540 541 542 543 544 545 546 |
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 539 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.
535 536 537 |
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 535 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
534 535 536 |
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 534 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
537 538 539 |
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 537 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
536 537 538 |
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 536 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
532 533 534 |
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 532 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
533 534 535 |
# File 'lib/virtuozzo/soap/types/scheduler.rb', line 533 def used @used end |