Class: Virtuozzo::SOAP::Types::Filer::ResourceType

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



497
498
499
500
501
502
503
504
# File 'lib/virtuozzo/soap/types/filer.rb', line 497

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.



493
494
495
# File 'lib/virtuozzo/soap/types/filer.rb', line 493

def avg
  @avg
end

#freeObject

Returns the value of attribute free.



492
493
494
# File 'lib/virtuozzo/soap/types/filer.rb', line 492

def free
  @free
end

#maxObject

Returns the value of attribute max.



495
496
497
# File 'lib/virtuozzo/soap/types/filer.rb', line 495

def max
  @max
end

#minObject

Returns the value of attribute min.



494
495
496
# File 'lib/virtuozzo/soap/types/filer.rb', line 494

def min
  @min
end

#totalObject

Returns the value of attribute total.



490
491
492
# File 'lib/virtuozzo/soap/types/filer.rb', line 490

def total
  @total
end

#usedObject

Returns the value of attribute used.



491
492
493
# File 'lib/virtuozzo/soap/types/filer.rb', line 491

def used
  @used
end