Class: Virtuozzo::SOAP::Types::Packagem::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Packagem::StatsType
- Defined in:
- lib/virtuozzo/soap/types/packagem.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.
1106 1107 1108 1109 1110 1111 1112 1113 1114 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1106 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.
1098 1099 1100 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1098 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
1102 1103 1104 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1102 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
1104 1105 1106 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1104 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
1100 1101 1102 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1100 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1099 1100 1101 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1099 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
1103 1104 1105 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1103 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
1101 1102 1103 |
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1101 def total @total end |