Class: Virtuozzo::SOAP::Drivers::Process::StatsType

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#avgObject

Returns the value of attribute avg.



1043
1044
1045
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1043

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



1047
1048
1049
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1047

def cur
  @cur
end

#hardObject

Returns the value of attribute hard.



1049
1050
1051
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1049

def hard
  @hard
end

#maxObject

Returns the value of attribute max.



1045
1046
1047
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1045

def max
  @max
end

#minObject

Returns the value of attribute min.



1044
1045
1046
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1044

def min
  @min
end

#softObject

Returns the value of attribute soft.



1048
1049
1050
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1048

def soft
  @soft
end

#totalObject

Returns the value of attribute total.



1046
1047
1048
# File 'lib/virtuozzo/soap/drivers/process/types.rb', line 1046

def total
  @total
end