Class: Virtuozzo::SOAP::Types::Resourcem::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Resourcem::StatsType
- Defined in:
- lib/virtuozzo/soap/types/resourcem.rb
Overview
Direct Known Subclasses
Load_avg_statsType::L1, Load_avg_statsType::L2, Load_avg_statsType::L3
Instance Attribute Summary collapse
-
#avg ⇒ Object
Returns the value of attribute avg.
-
#cur ⇒ Object
Returns the value of attribute cur.
-
#hard ⇒ Object
Returns the value of attribute hard.
-
#max ⇒ Object
Returns the value of attribute max.
-
#min ⇒ Object
Returns the value of attribute min.
-
#soft ⇒ Object
Returns the value of attribute soft.
-
#total ⇒ Object
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) ⇒ StatsType
constructor
A new instance of StatsType.
Constructor Details
#initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) ⇒ StatsType
Returns a new instance of StatsType.
485 486 487 488 489 490 491 492 493 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 485 def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) @avg = avg @min = min @max = max @total = total @cur = cur @soft = soft @hard = hard end |
Instance Attribute Details
#avg ⇒ Object
Returns the value of attribute avg.
477 478 479 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 477 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
481 482 483 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 481 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
483 484 485 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 483 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
479 480 481 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 479 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
478 479 480 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 478 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
482 483 484 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 482 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
480 481 482 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 480 def total @total end |