Class: Virtuozzo::SOAP::Types::Resourcem::UsageType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Resourcem::UsageType
- 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
-
#free ⇒ Object
Returns the value of attribute free.
-
#total ⇒ Object
Returns the value of attribute total.
-
#used ⇒ Object
Returns the value of attribute used.
Instance Method Summary collapse
-
#initialize(total = nil, used = nil, free = nil) ⇒ UsageType
constructor
A new instance of UsageType.
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
#free ⇒ Object
Returns the value of attribute free.
837 838 839 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 837 def free @free end |
#total ⇒ Object
Returns the value of attribute total.
835 836 837 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 835 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
836 837 838 |
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 836 def used @used end |