Class: Virtuozzo::SOAP::Drivers::Template::ResourceType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/drivers/template/types.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/typesresourceType

total - SOAP::SOAPLong
used - SOAP::SOAPLong
free - SOAP::SOAPLong
avg - SOAP::SOAPLong
min - SOAP::SOAPLong
max - SOAP::SOAPLong

Direct Known Subclasses

Sys_infoType::Memory, Sys_infoType::Swap

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil) ⇒ ResourceType

Returns a new instance of ResourceType.



1053
1054
1055
1056
1057
1058
1059
1060
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1053

def initialize(total = nil, used = nil, free = nil, avg = nil, min = nil, max = nil)
  @total = total
  @used = used
  @free = free
  @avg = avg
  @min = min
  @max = max
end

Instance Attribute Details

#avgObject

Returns the value of attribute avg.



1049
1050
1051
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1049

def avg
  @avg
end

#freeObject

Returns the value of attribute free.



1048
1049
1050
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1048

def free
  @free
end

#maxObject

Returns the value of attribute max.



1051
1052
1053
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1051

def max
  @max
end

#minObject

Returns the value of attribute min.



1050
1051
1052
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1050

def min
  @min
end

#totalObject

Returns the value of attribute total.



1046
1047
1048
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1046

def total
  @total
end

#usedObject

Returns the value of attribute used.



1047
1048
1049
# File 'lib/virtuozzo/soap/drivers/template/types.rb', line 1047

def used
  @used
end