Class: Virtuozzo::SOAP::Types::PerfMon::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::PerfMon::ResourceType
- Defined in:
- lib/virtuozzo/soap/types/perf_mon.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.
416 417 418 419 420 421 422 423 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 416 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.
412 413 414 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 412 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
411 412 413 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 411 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
414 415 416 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 414 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
413 414 415 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 413 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
409 410 411 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 409 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
410 411 412 |
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 410 def used @used end |