Class: Virtuozzo::SOAP::Drivers::Device::StatsType

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



1135
1136
1137
1138
1139
1140
1141
1142
1143
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1135

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.



1127
1128
1129
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1127

def avg
  @avg
end

#curObject

Returns the value of attribute cur.



1131
1132
1133
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1131

def cur
  @cur
end

#hardObject

Returns the value of attribute hard.



1133
1134
1135
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1133

def hard
  @hard
end

#maxObject

Returns the value of attribute max.



1129
1130
1131
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1129

def max
  @max
end

#minObject

Returns the value of attribute min.



1128
1129
1130
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1128

def min
  @min
end

#softObject

Returns the value of attribute soft.



1132
1133
1134
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1132

def soft
  @soft
end

#totalObject

Returns the value of attribute total.



1130
1131
1132
# File 'lib/virtuozzo/soap/drivers/device/types.rb', line 1130

def total
  @total
end