Class: Virtuozzo::SOAP::Types::Userm::Sys_infoType::Swap

Inherits:
ResourceType
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/userm.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

Attributes inherited from ResourceType

#avg, #free, #max, #min

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, used = nil) ⇒ Swap

Returns a new instance of Swap.



579
580
581
582
# File 'lib/virtuozzo/soap/types/userm.rb', line 579

def initialize(total = nil, used = nil)
  @total = total
  @used = used
end

Instance Attribute Details

#totalObject

Returns the value of attribute total.



576
577
578
# File 'lib/virtuozzo/soap/types/userm.rb', line 576

def total
  @total
end

#usedObject

Returns the value of attribute used.



577
578
579
# File 'lib/virtuozzo/soap/types/userm.rb', line 577

def used
  @used
end