Class: Virtuozzo::SOAP::Drivers::Up2date::ResourceType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Drivers::Up2date::ResourceType
- Defined in:
- lib/virtuozzo/soap/drivers/up2date/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.
1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1199 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.
1195 1196 1197 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1195 def avg @avg end |
#free ⇒ Object
Returns the value of attribute free.
1194 1195 1196 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1194 def free @free end |
#max ⇒ Object
Returns the value of attribute max.
1197 1198 1199 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1197 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1196 1197 1198 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1196 def min @min end |
#total ⇒ Object
Returns the value of attribute total.
1192 1193 1194 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1192 def total @total end |
#used ⇒ Object
Returns the value of attribute used.
1193 1194 1195 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1193 def used @used end |