Class: Virtuozzo::SOAP::Types::Sessionm::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Sessionm::ResourceType
- Defined in:
- lib/virtuozzo/soap/types/sessionm.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.
430 431 432 433 434 435 436 437 |
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 430 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.
426 427 428 |
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 426 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
425 426 427 |
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 425 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
428 429 430 |
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 428 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
427 428 429 |
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 427 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
423 424 425 |
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 423 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
424 425 426 |
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 424 def used @used end |