Class: Virtuozzo::SOAP::Types::Backupm::ResourceType

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



623
624
625
626
627
628
629
630
# File 'lib/virtuozzo/soap/types/backupm.rb', line 623

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.



619
620
621
# File 'lib/virtuozzo/soap/types/backupm.rb', line 619

def avg
  @avg
end

#freeObject

Returns the value of attribute free.



618
619
620
# File 'lib/virtuozzo/soap/types/backupm.rb', line 618

def free
  @free
end

#maxObject

Returns the value of attribute max.



621
622
623
# File 'lib/virtuozzo/soap/types/backupm.rb', line 621

def max
  @max
end

#minObject

Returns the value of attribute min.



620
621
622
# File 'lib/virtuozzo/soap/types/backupm.rb', line 620

def min
  @min
end

#totalObject

Returns the value of attribute total.



616
617
618
# File 'lib/virtuozzo/soap/types/backupm.rb', line 616

def total
  @total
end

#usedObject

Returns the value of attribute used.



617
618
619
# File 'lib/virtuozzo/soap/types/backupm.rb', line 617

def used
  @used
end