Class: Virtuozzo::SOAP::Types::Backupm::Sys_infoType::Memory

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



800
801
802
803
# File 'lib/virtuozzo/soap/types/backupm.rb', line 800

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

Instance Attribute Details

#totalObject

Returns the value of attribute total.



797
798
799
# File 'lib/virtuozzo/soap/types/backupm.rb', line 797

def total
  @total
end

#usedObject

Returns the value of attribute used.



798
799
800
# File 'lib/virtuozzo/soap/types/backupm.rb', line 798

def used
  @used
end