Class: Virtuozzo::SOAP::Types::ResLog::ResourceType

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

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/typesresourceType

total - SOAP::SOAPLong
used - SOAP::SOAPLong
free - SOAP::SOAPLong
avg - SOAP::SOAPLong
min - SOAP::SOAPLong
max - SOAP::SOAPLong

Direct Known Subclasses

Sys_infoType::Memory, Sys_infoType::Swap

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil) ⇒ ResourceType

Returns a new instance of ResourceType.



436
437
438
439
440
441
442
443
# File 'lib/virtuozzo/soap/types/res_log.rb', line 436

def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
  @total = total
  @used = used
  @free = free
  @avg = avg
  @min = min
  @max = max
end

Instance Attribute Details

#avgObject

Returns the value of attribute avg.



432
433
434
# File 'lib/virtuozzo/soap/types/res_log.rb', line 432

def avg
  @avg
end

#freeObject

Returns the value of attribute free.



431
432
433
# File 'lib/virtuozzo/soap/types/res_log.rb', line 431

def free
  @free
end

#maxObject

Returns the value of attribute max.



434
435
436
# File 'lib/virtuozzo/soap/types/res_log.rb', line 434

def max
  @max
end

#minObject

Returns the value of attribute min.



433
434
435
# File 'lib/virtuozzo/soap/types/res_log.rb', line 433

def min
  @min
end

#totalObject

Returns the value of attribute total.



429
430
431
# File 'lib/virtuozzo/soap/types/res_log.rb', line 429

def total
  @total
end

#usedObject

Returns the value of attribute used.



430
431
432
# File 'lib/virtuozzo/soap/types/res_log.rb', line 430

def used
  @used
end