Class: Virtuozzo::SOAP::Types::Support::StatsType

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



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

#avgObject

Returns the value of attribute avg.



1064
1065
1066
# File 'lib/virtuozzo/soap/types/support.rb', line 1064

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



1068
1069
1070
# File 'lib/virtuozzo/soap/types/support.rb', line 1068

def cur
  @cur
end

#hardObject

Returns the value of attribute hard.



1070
1071
1072
# File 'lib/virtuozzo/soap/types/support.rb', line 1070

def hard
  @hard
end

#maxObject

Returns the value of attribute max.



1066
1067
1068
# File 'lib/virtuozzo/soap/types/support.rb', line 1066

def max
  @max
end

#minObject

Returns the value of attribute min.



1065
1066
1067
# File 'lib/virtuozzo/soap/types/support.rb', line 1065

def min
  @min
end

#softObject

Returns the value of attribute soft.



1069
1070
1071
# File 'lib/virtuozzo/soap/types/support.rb', line 1069

def soft
  @soft
end

#totalObject

Returns the value of attribute total.



1067
1068
1069
# File 'lib/virtuozzo/soap/types/support.rb', line 1067

def total
  @total
end