Class: Virtuozzo::SOAP::Drivers::Up2date::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Drivers::Up2date::StatsType
- Defined in:
- lib/virtuozzo/soap/drivers/up2date/types.rb
Overview
http://www.swsoft.com/webservices/vzl/4.0.0/typesstatsType
avg - SOAP::SOAPLong
min - SOAP::SOAPLong
max - SOAP::SOAPLong
total - SOAP::SOAPLong
cur - SOAP::SOAPLong
soft - SOAP::SOAPLong
hard - SOAP::SOAPLong
Direct Known Subclasses
Load_avg_statsType::L1, Load_avg_statsType::L2, Load_avg_statsType::L3
Instance Attribute Summary collapse
-
#avg ⇒ Object
Returns the value of attribute avg.
-
#cur ⇒ Object
Returns the value of attribute cur.
-
#hard ⇒ Object
Returns the value of attribute hard.
-
#max ⇒ Object
Returns the value of attribute max.
-
#min ⇒ Object
Returns the value of attribute min.
-
#soft ⇒ Object
Returns the value of attribute soft.
-
#total ⇒ Object
Returns the value of attribute total.
Instance Method Summary collapse
-
#initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) ⇒ StatsType
constructor
A new instance of StatsType.
Constructor Details
#initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) ⇒ StatsType
Returns a new instance of StatsType.
1239 1240 1241 1242 1243 1244 1245 1246 1247 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1239 def initialize(avg = nil, min = nil, max = nil, total = nil, cur = nil, soft = nil, hard = nil) @avg = avg @min = min @max = max @total = total @cur = cur @soft = soft @hard = hard end |
Instance Attribute Details
#avg ⇒ Object
Returns the value of attribute avg.
1231 1232 1233 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1231 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
1235 1236 1237 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1235 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
1237 1238 1239 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1237 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
1233 1234 1235 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1233 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1232 1233 1234 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1232 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
1236 1237 1238 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1236 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
1234 1235 1236 |
# File 'lib/virtuozzo/soap/drivers/up2date/types.rb', line 1234 def total @total end |