Class: Virtuozzo::SOAP::Types::Resourcem::UsageType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/resourcem.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/typesusageType

total - SOAP::SOAPLong
used - SOAP::SOAPLong
free - SOAP::SOAPLong

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, used = nil, free = nil) ⇒ UsageType

Returns a new instance of UsageType.



839
840
841
842
843
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 839

def initialize(total = nil, used = nil, free = nil)
  @total = total
  @used = used
  @free = free
end

Instance Attribute Details

#freeObject

Returns the value of attribute free.



837
838
839
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 837

def free
  @free
end

#totalObject

Returns the value of attribute total.



835
836
837
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 835

def total
  @total
end

#usedObject

Returns the value of attribute used.



836
837
838
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 836

def used
  @used
end