Class: Virtuozzo::SOAP::Types::Packagem::ResourceType

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



1066
1067
1068
1069
1070
1071
1072
1073
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1066

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.



1062
1063
1064
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1062

def avg
  @avg
end

#freeObject

Returns the value of attribute free.



1061
1062
1063
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1061

def free
  @free
end

#maxObject

Returns the value of attribute max.



1064
1065
1066
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1064

def max
  @max
end

#minObject

Returns the value of attribute min.



1063
1064
1065
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1063

def min
  @min
end

#totalObject

Returns the value of attribute total.



1059
1060
1061
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1059

def total
  @total
end

#usedObject

Returns the value of attribute used.



1060
1061
1062
# File 'lib/virtuozzo/soap/types/packagem.rb', line 1060

def used
  @used
end