Class: Virtuozzo::SOAP::Types::PerfMon::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::PerfMon::StatsType
- Defined in:
- lib/virtuozzo/soap/types/perf_mon.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.
456 457 458 459 460 461 462 463 464 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 456 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.
448 449 450 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 448 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
452 453 454 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 452 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
454 455 456 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 454 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
450 451 452 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 450 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
449 450 451 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 449 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
453 454 455 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 453 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
451 452 453 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 451 def total @total end |