Class: Virtuozzo::SOAP::Drivers::Template::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Drivers::Template::StatsType
- Defined in:
- lib/virtuozzo/soap/drivers/template/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.
1093 1094 1095 1096 1097 1098 1099 1100 1101 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1093 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.
1085 1086 1087 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1085 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
1089 1090 1091 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1089 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
1091 1092 1093 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1091 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
1087 1088 1089 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1087 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1086 1087 1088 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1086 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
1090 1091 1092 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1090 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
1088 1089 1090 |
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1088 def total @total end |