Class: Virtuozzo::SOAP::Types::Devm::Sys_infoType::Memory

Inherits:
ResourceType
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/devm.rb

Overview

inner class for member: memory http://www.swsoft.com/webservices/vzl/4.0.0/typesmemory

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) ⇒ Memory

Returns a new instance of Memory.



1285
1286
1287
1288
# File 'lib/virtuozzo/soap/types/devm.rb', line 1285

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

Instance Attribute Details

#totalObject

Returns the value of attribute total.



1282
1283
1284
# File 'lib/virtuozzo/soap/types/devm.rb', line 1282

def total
  @total
end

#usedObject

Returns the value of attribute used.



1283
1284
1285
# File 'lib/virtuozzo/soap/types/devm.rb', line 1283

def used
  @used
end