Class: Virtuozzo::SOAP::Types::Envm::Load_avg_statsType::L2

Inherits:
StatsType
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/envm.rb

Overview

inner class for member: l2 http://www.swsoft.com/webservices/vzl/4.0.0/typesl2

avg - SOAP::SOAPLong
min - SOAP::SOAPLong
max - SOAP::SOAPLong
cur - SOAP::SOAPLong

Instance Attribute Summary collapse

Attributes inherited from StatsType

#hard, #soft, #total

Instance Method Summary collapse

Constructor Details

#initialize(avg = nil, min = nil, max = nil, cur = nil) ⇒ L2

Returns a new instance of L2.



975
976
977
978
979
980
# File 'lib/virtuozzo/soap/types/envm.rb', line 975

def initialize(avg = nil, min = nil, max = nil, cur = nil)
  @avg = avg
  @min = min
  @max = max
  @cur = cur
end

Instance Attribute Details

#avgObject

Returns the value of attribute avg.



970
971
972
# File 'lib/virtuozzo/soap/types/envm.rb', line 970

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



973
974
975
# File 'lib/virtuozzo/soap/types/envm.rb', line 973

def cur
  @cur
end

#maxObject

Returns the value of attribute max.



972
973
974
# File 'lib/virtuozzo/soap/types/envm.rb', line 972

def max
  @max
end

#minObject

Returns the value of attribute min.



971
972
973
# File 'lib/virtuozzo/soap/types/envm.rb', line 971

def min
  @min
end