Class: Virtuozzo::SOAP::Drivers::Template::StatsType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/drivers/template/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.



1093
1094
1095
1096
1097
1098
1099
1100
1101
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1093

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.



1085
1086
1087
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1085

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



1089
1090
1091
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1089

def cur
  @cur
end

#hardObject

Returns the value of attribute hard.



1091
1092
1093
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1091

def hard
  @hard
end

#maxObject

Returns the value of attribute max.



1087
1088
1089
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1087

def max
  @max
end

#minObject

Returns the value of attribute min.



1086
1087
1088
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1086

def min
  @min
end

#softObject

Returns the value of attribute soft.



1090
1091
1092
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1090

def soft
  @soft
end

#totalObject

Returns the value of attribute total.



1088
1089
1090
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1088

def total
  @total
end