Class: Virtuozzo::SOAP::Types::Servicem::ResourceType

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



459
460
461
462
463
464
465
466
# File 'lib/virtuozzo/soap/types/servicem.rb', line 459

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.



455
456
457
# File 'lib/virtuozzo/soap/types/servicem.rb', line 455

def avg
  @avg
end

#freeObject

Returns the value of attribute free.



454
455
456
# File 'lib/virtuozzo/soap/types/servicem.rb', line 454

def free
  @free
end

#maxObject

Returns the value of attribute max.



457
458
459
# File 'lib/virtuozzo/soap/types/servicem.rb', line 457

def max
  @max
end

#minObject

Returns the value of attribute min.



456
457
458
# File 'lib/virtuozzo/soap/types/servicem.rb', line 456

def min
  @min
end

#totalObject

Returns the value of attribute total.



452
453
454
# File 'lib/virtuozzo/soap/types/servicem.rb', line 452

def total
  @total
end

#usedObject

Returns the value of attribute used.



453
454
455
# File 'lib/virtuozzo/soap/types/servicem.rb', line 453

def used
  @used
end