Class: Virtuozzo::SOAP::Types::PerfMon::Sys_infoType::Memory

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



593
594
595
596
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 593

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

Instance Attribute Details

#totalObject

Returns the value of attribute total.



590
591
592
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 590

def total
  @total
end

#usedObject

Returns the value of attribute used.



591
592
593
# File 'lib/virtuozzo/soap/types/perf_mon.rb', line 591

def used
  @used
end