Class: Virtuozzo::SOAP::Types::Computerm::Load_avg_statsType::L2

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



747
748
749
750
751
752
# File 'lib/virtuozzo/soap/types/computerm.rb', line 747

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.



742
743
744
# File 'lib/virtuozzo/soap/types/computerm.rb', line 742

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



745
746
747
# File 'lib/virtuozzo/soap/types/computerm.rb', line 745

def cur
  @cur
end

#maxObject

Returns the value of attribute max.



744
745
746
# File 'lib/virtuozzo/soap/types/computerm.rb', line 744

def max
  @max
end

#minObject

Returns the value of attribute min.



743
744
745
# File 'lib/virtuozzo/soap/types/computerm.rb', line 743

def min
  @min
end