Class: Virtuozzo::SOAP::Drivers::Template::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Drivers::Template::ResourceType
- Defined in:
- lib/virtuozzo/soap/drivers/template/types.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.
1053 1054 1055 1056 1057 1058 1059 1060 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1053 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.
1049 1050 1051 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1049 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
1048 1049 1050 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1048 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
1051 1052 1053 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1051 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1050 1051 1052 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1050 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
1046 1047 1048 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1046 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
1047 1048 1049 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1047 def used @used end |