Class: Virtuozzo::SOAP::Types::Networkm::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Networkm::ResourceType
- Defined in:
- lib/virtuozzo/soap/types/networkm.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.
460 461 462 463 464 465 466 467 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 460 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.
456 457 458 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 456 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
455 456 457 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 455 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
458 459 460 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 458 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
457 458 459 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 457 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
453 454 455 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 453 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
454 455 456 |
# File 'lib/virtuozzo/soap/types/networkm.rb', line 454 def used @used end |