Class: Virtuozzo::SOAP::Types::Support::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Support::ResourceType
- Defined in:
- lib/virtuozzo/soap/types/support.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
Instance Attribute Summary collapse
-
#avg ⇒ Object
Returns the value of attribute avg.
-
#free ⇒ Object
Returns the value of attribute free.
-
#max ⇒ Object
Returns the value of attribute max.
-
#min ⇒ Object
Returns the value of attribute min.
-
#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, avg = nil, min = nil, max = nil) ⇒ ResourceType
constructor
A new instance of ResourceType.
Constructor Details
#initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil) ⇒ ResourceType
Returns a new instance of ResourceType.
1032 1033 1034 1035 1036 1037 1038 1039 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1032 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
#avg ⇒ Object
Returns the value of attribute avg.
1028 1029 1030 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1028 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
1027 1028 1029 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1027 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
1030 1031 1032 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1030 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1029 1030 1031 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1029 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
1025 1026 1027 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1025 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
1026 1027 1028 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1026 def used @used end |