Class: Virtuozzo::SOAP::Types::ServerGroup::UsageType

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



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

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.



838
839
840
# File 'lib/virtuozzo/soap/types/server_group.rb', line 838

def free
  @free
end

#totalObject

Returns the value of attribute total.



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

def total
  @total
end

#usedObject

Returns the value of attribute used.



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

def used
  @used
end