Class: Virtuozzo::SOAP::Types::Sessionm::Sys_infoType::Memory

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



607
608
609
610
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 607

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

Instance Attribute Details

#totalObject

Returns the value of attribute total.



604
605
606
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 604

def total
  @total
end

#usedObject

Returns the value of attribute used.



605
606
607
# File 'lib/virtuozzo/soap/types/sessionm.rb', line 605

def used
  @used
end