Class: Virtuozzo::SOAP::Drivers::Process::StatsType
- Inherits:
-
Object
- Object
- Virtuozzo::SOAP::Drivers::Process::StatsType
- Defined in:
- lib/virtuozzo/soap/drivers/process/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.
1051 1052 1053 1054 1055 1056 1057 1058 1059 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1051 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.
1043 1044 1045 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1043 def avg @avg end |
#cur ⇒ Object
Returns the value of attribute cur.
1047 1048 1049 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1047 def cur @cur end |
#hard ⇒ Object
Returns the value of attribute hard.
1049 1050 1051 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1049 def hard @hard end |
#max ⇒ Object
Returns the value of attribute max.
1045 1046 1047 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1045 def max @max end |
#min ⇒ Object
Returns the value of attribute min.
1044 1045 1046 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1044 def min @min end |
#soft ⇒ Object
Returns the value of attribute soft.
1048 1049 1050 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1048 def soft @soft end |
#total ⇒ Object
Returns the value of attribute total.
1046 1047 1048 |
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1046 def total @total end |