Class: Virtuozzo::SOAP::Types::Envm::UsageType

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



1064
1065
1066
1067
1068
# File 'lib/virtuozzo/soap/types/envm.rb', line 1064

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.



1062
1063
1064
# File 'lib/virtuozzo/soap/types/envm.rb', line 1062

def free
  @free
end

#totalObject

Returns the value of attribute total.



1060
1061
1062
# File 'lib/virtuozzo/soap/types/envm.rb', line 1060

def total
  @total
end

#usedObject

Returns the value of attribute used.



1061
1062
1063
# File 'lib/virtuozzo/soap/types/envm.rb', line 1061

def used
  @used
end