Class: Virtuozzo::SOAP::Types::Resourcem::ResourceType_
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Resourcem::ResourceType_
- Defined in:
- lib/virtuozzo/soap/types/resourcem.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_.
445 446 447 448 449 450 451 452 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 445 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.
441 442 443 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 441 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
440 441 442 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 440 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
443 444 445 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 443 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
442 443 444 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 442 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
438 439 440 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 438 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
439 440 441 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 439 def used @used end |