Class: Virtuozzo::SOAP::Drivers::Session::StatsType

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



457
458
459
460
461
462
463
464
465
# File 'lib/virtuozzo/soap/drivers/session/types.rb', line 457

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.



449
450
451
# File 'lib/virtuozzo/soap/drivers/session/types.rb', line 449

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



453
454
455
# File 'lib/virtuozzo/soap/drivers/session/types.rb', line 453

def cur
  @cur
end

#hardObject

Returns the value of attribute hard.



455
456
457
# File 'lib/virtuozzo/soap/drivers/session/types.rb', line 455

def hard
  @hard
end

#maxObject

Returns the value of attribute max.



451
452
453
# File 'lib/virtuozzo/soap/drivers/session/types.rb', line 451

def max
  @max
end

#minObject

Returns the value of attribute min.



450
451
452
# File 'lib/virtuozzo/soap/drivers/session/types.rb', line 450

def min
  @min
end

#softObject

Returns the value of attribute soft.



454
455
456
# File 'lib/virtuozzo/soap/drivers/session/types.rb', line 454

def soft
  @soft
end

#totalObject

Returns the value of attribute total.



452
453
454
# File 'lib/virtuozzo/soap/drivers/session/types.rb', line 452

def total
  @total
end