Class: Virtuozzo::SOAP::Types::ResLog::Sys_infoType::Swap
- Inherits:
-
ResourceType
- Object
- ResourceType
- Virtuozzo::SOAP::Types::ResLog::Sys_infoType::Swap
- Defined in:
- lib/virtuozzo/soap/types/res_log.rb
Overview
inner class for member: swap http://www.swsoft.com/webservices/vzl/4.0.0/typesswap
total - SOAP::SOAPLong
used - SOAP::SOAPLong
Instance Attribute Summary collapse
-
#total ⇒ Object
Returns the value of attribute total.
-
#used ⇒ Object
Returns the value of attribute used.
Attributes inherited from ResourceType
Instance Method Summary collapse
-
#initialize(total = nil, used = nil) ⇒ Swap
constructor
A new instance of Swap.
Constructor Details
#initialize(total = nil, used = nil) ⇒ Swap
Returns a new instance of Swap.
627 628 629 630 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 627 def initialize(total = nil, used = nil) @total = total @used = used end |
Instance Attribute Details
#total ⇒ Object
Returns the value of attribute total.
624 625 626 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 624 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
625 626 627 |
# File 'lib/virtuozzo/soap/types/res_log.rb', line 625 def used @used end |