Class: Virtuozzo::SOAP::Drivers::Process::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Drivers::Process::ResourceType
- Defined in:
- lib/virtuozzo/soap/drivers/process/types.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.
1011 1012 1013 1014 1015 1016 1017 1018 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1011 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.
1007 1008 1009 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1007 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
1006 1007 1008 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1006 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
1009 1010 1011 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1009 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1008 1009 1010 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1008 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
1004 1005 1006 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1004 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
1005 1006 1007 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1005 def used @used end |