Class: Virtuozzo::SOAP::Types::Devm::Sys_infoType::Swap

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



1299
1300
1301
1302
# File 'lib/virtuozzo/soap/types/devm.rb', line 1299

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

Instance Attribute Details

#totalObject

Returns the value of attribute total.



1296
1297
1298
# File 'lib/virtuozzo/soap/types/devm.rb', line 1296

def total
  @total
end

#usedObject

Returns the value of attribute used.



1297
1298
1299
# File 'lib/virtuozzo/soap/types/devm.rb', line 1297

def used
  @used
end