class OvirtSDK4::GlusterMemoryPool
Public Class Methods
Creates a new instance of the {GlusterMemoryPool} class.
@param opts [Hash] A hash containing the attributes of the object. The keys of the hash
should be symbols corresponding to the names of the attributes. The values of the hash should be the values of the attributes.
@option opts [Integer] :alloc_count The value of attribute `alloc_count`.
@option opts [Integer] :cold_count The value of attribute `cold_count`.
@option opts [String] :comment The value of attribute `comment`.
@option opts [String] :description The value of attribute `description`.
@option opts [Integer] :hot_count The value of attribute `hot_count`.
@option opts [String] :id The value of attribute `id`.
@option opts [Integer] :max_alloc The value of attribute `max_alloc`.
@option opts [Integer] :max_stdalloc The value of attribute `max_stdalloc`.
@option opts [String] :name The value of attribute `name`.
@option opts [Integer] :padded_size The value of attribute `padded_size`.
@option opts [Integer] :pool_misses The value of attribute `pool_misses`.
@option opts [String] :type The value of attribute `type`.
# File lib/ovirtsdk4/types.rb, line 31085 def initialize(opts = {}) super(opts) self.alloc_count = opts[:alloc_count] self.cold_count = opts[:cold_count] self.comment = opts[:comment] self.description = opts[:description] self.hot_count = opts[:hot_count] self.id = opts[:id] self.max_alloc = opts[:max_alloc] self.max_stdalloc = opts[:max_stdalloc] self.name = opts[:name] self.padded_size = opts[:padded_size] self.pool_misses = opts[:pool_misses] self.type = opts[:type] end
Public Instance Methods
Returns the value of the `alloc_count` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 30842 def alloc_count return @alloc_count end
Sets the value of the `alloc_count` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 30851 def alloc_count=(value) @alloc_count = value end
Returns the value of the `cold_count` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 30860 def cold_count return @cold_count end
Sets the value of the `cold_count` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 30869 def cold_count=(value) @cold_count = value end
Returns the value of the `comment` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 30878 def comment return @comment end
Sets the value of the `comment` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 30887 def comment=(value) @comment = value end
Returns the value of the `description` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 30896 def description return @description end
Sets the value of the `description` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 30905 def description=(value) @description = value end
Returns the value of the `hot_count` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 30914 def hot_count return @hot_count end
Sets the value of the `hot_count` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 30923 def hot_count=(value) @hot_count = value end
Returns the value of the `id` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 30932 def id return @id end
Sets the value of the `id` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 30941 def id=(value) @id = value end
Returns the value of the `max_alloc` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 30950 def max_alloc return @max_alloc end
Sets the value of the `max_alloc` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 30959 def max_alloc=(value) @max_alloc = value end
Returns the value of the `max_stdalloc` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 30968 def max_stdalloc return @max_stdalloc end
Sets the value of the `max_stdalloc` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 30977 def max_stdalloc=(value) @max_stdalloc = value end
Returns the value of the `name` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 30986 def name return @name end
Sets the value of the `name` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 30995 def name=(value) @name = value end
Returns the value of the `padded_size` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 31004 def padded_size return @padded_size end
Sets the value of the `padded_size` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 31013 def padded_size=(value) @padded_size = value end
Returns the value of the `pool_misses` attribute.
@return [Integer]
# File lib/ovirtsdk4/types.rb, line 31022 def pool_misses return @pool_misses end
Sets the value of the `pool_misses` attribute.
@param value [Integer]
# File lib/ovirtsdk4/types.rb, line 31031 def pool_misses=(value) @pool_misses = value end
Returns the value of the `type` attribute.
@return [String]
# File lib/ovirtsdk4/types.rb, line 31040 def type return @type end
Sets the value of the `type` attribute.
@param value [String]
# File lib/ovirtsdk4/types.rb, line 31049 def type=(value) @type = value end