Class: Virtuozzo::SOAP::Types::Licensem::ResourceType

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



421
422
423
424
425
426
427
428
# File 'lib/virtuozzo/soap/types/licensem.rb', line 421

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.



417
418
419
# File 'lib/virtuozzo/soap/types/licensem.rb', line 417

def avg
  @avg
end

#freeObject

Returns the value of attribute free.



416
417
418
# File 'lib/virtuozzo/soap/types/licensem.rb', line 416

def free
  @free
end

#maxObject

Returns the value of attribute max.



419
420
421
# File 'lib/virtuozzo/soap/types/licensem.rb', line 419

def max
  @max
end

#minObject

Returns the value of attribute min.



418
419
420
# File 'lib/virtuozzo/soap/types/licensem.rb', line 418

def min
  @min
end

#totalObject

Returns the value of attribute total.



414
415
416
# File 'lib/virtuozzo/soap/types/licensem.rb', line 414

def total
  @total
end

#usedObject

Returns the value of attribute used.



415
416
417
# File 'lib/virtuozzo/soap/types/licensem.rb', line 415

def used
  @used
end