Class: Virtuozzo::SOAP::Types::Up2date::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Up2date::StatsType
- Defined in:
- lib/virtuozzo/soap/types/up2date.rb
Overview
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.
1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1252 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.
1244 1245 1246 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1244 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
1248 1249 1250 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1248 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
1250 1251 1252 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1250 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
1246 1247 1248 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1246 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1245 1246 1247 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1245 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
1249 1250 1251 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1249 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
1247 1248 1249 |
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1247 def total @total end |