Class: Virtuozzo::SOAP::Types::Resourcem::Sys_infoType::Memory

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



622
623
624
625
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 622

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

Instance Attribute Details

#totalObject

Returns the value of attribute total.



619
620
621
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 619

def total
  @total
end

#usedObject

Returns the value of attribute used.



620
621
622
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 620

def used
  @used
end