Class: Virtuozzo::SOAP::Types::Support::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Types::Support::StatsType
- Defined in:
- lib/virtuozzo/soap/types/support.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.
1072 1073 1074 1075 1076 1077 1078 1079 1080 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1072 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.
1064 1065 1066 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1064 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
1068 1069 1070 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1068 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
1070 1071 1072 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1070 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
1066 1067 1068 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1066 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1065 1066 1067 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1065 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
1069 1070 1071 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1069 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
1067 1068 1069 |
# File 'lib/virtuozzo/soap/types/support.rb', line 1067 def total @total end |