Class: Virtuozzo::SOAP::Types::ServerGroup::StatsType

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



486
487
488
489
490
491
492
493
494
# File 'lib/virtuozzo/soap/types/server_group.rb', line 486

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.



478
479
480
# File 'lib/virtuozzo/soap/types/server_group.rb', line 478

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



482
483
484
# File 'lib/virtuozzo/soap/types/server_group.rb', line 482

def cur
  @cur
end

#hardObject

Returns the value of attribute hard.



484
485
486
# File 'lib/virtuozzo/soap/types/server_group.rb', line 484

def hard
  @hard
end

#maxObject

Returns the value of attribute max.



480
481
482
# File 'lib/virtuozzo/soap/types/server_group.rb', line 480

def max
  @max
end

#minObject

Returns the value of attribute min.



479
480
481
# File 'lib/virtuozzo/soap/types/server_group.rb', line 479

def min
  @min
end

#softObject

Returns the value of attribute soft.



483
484
485
# File 'lib/virtuozzo/soap/types/server_group.rb', line 483

def soft
  @soft
end

#totalObject

Returns the value of attribute total.



481
482
483
# File 'lib/virtuozzo/soap/types/server_group.rb', line 481

def total
  @total
end