Class: Virtuozzo::SOAP::Types::Up2date::Load_avg_statsType::L2

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



1517
1518
1519
1520
1521
1522
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1517

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.



1512
1513
1514
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1512

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



1515
1516
1517
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1515

def cur
  @cur
end

#maxObject

Returns the value of attribute max.



1514
1515
1516
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1514

def max
  @max
end

#minObject

Returns the value of attribute min.



1513
1514
1515
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1513

def min
  @min
end