Class: Virtuozzo::SOAP::Types::Mailer::ResourceType

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



401
402
403
404
405
406
407
408
# File 'lib/virtuozzo/soap/types/mailer.rb', line 401

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.



397
398
399
# File 'lib/virtuozzo/soap/types/mailer.rb', line 397

def avg
  @avg
end

#freeObject

Returns the value of attribute free.



396
397
398
# File 'lib/virtuozzo/soap/types/mailer.rb', line 396

def free
  @free
end

#maxObject

Returns the value of attribute max.



399
400
401
# File 'lib/virtuozzo/soap/types/mailer.rb', line 399

def max
  @max
end

#minObject

Returns the value of attribute min.



398
399
400
# File 'lib/virtuozzo/soap/types/mailer.rb', line 398

def min
  @min
end

#totalObject

Returns the value of attribute total.



394
395
396
# File 'lib/virtuozzo/soap/types/mailer.rb', line 394

def total
  @total
end

#usedObject

Returns the value of attribute used.



395
396
397
# File 'lib/virtuozzo/soap/types/mailer.rb', line 395

def used
  @used
end