Class: Virtuozzo::SOAP::Types::Resourcem::StatsType

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



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

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.



477
478
479
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 477

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



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

def cur
  @cur
end

#hardObject

Returns the value of attribute hard.



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

def hard
  @hard
end

#maxObject

Returns the value of attribute max.



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

def max
  @max
end

#minObject

Returns the value of attribute min.



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

def min
  @min
end

#softObject

Returns the value of attribute soft.



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

def soft
  @soft
end

#totalObject

Returns the value of attribute total.



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

def total
  @total
end