Class: OvirtSDK4::GlusterMemoryPool
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::GlusterMemoryPool
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Integer) alloc_count
Returns the value of the
alloc_count
attribute. -
- (Object) alloc_count=(value)
Sets the value of the
alloc_count
attribute. -
- (Integer) cold_count
Returns the value of the
cold_count
attribute. -
- (Object) cold_count=(value)
Sets the value of the
cold_count
attribute. -
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (Integer) hot_count
Returns the value of the
hot_count
attribute. -
- (Object) hot_count=(value)
Sets the value of the
hot_count
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (GlusterMemoryPool) initialize(opts = {})
constructor
Creates a new instance of the GlusterMemoryPool class.
-
- (Integer) max_alloc
Returns the value of the
max_alloc
attribute. -
- (Object) max_alloc=(value)
Sets the value of the
max_alloc
attribute. -
- (Integer) max_stdalloc
Returns the value of the
max_stdalloc
attribute. -
- (Object) max_stdalloc=(value)
Sets the value of the
max_stdalloc
attribute. -
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (Integer) padded_size
Returns the value of the
padded_size
attribute. -
- (Object) padded_size=(value)
Sets the value of the
padded_size
attribute. -
- (Integer) pool_misses
Returns the value of the
pool_misses
attribute. -
- (Object) pool_misses=(value)
Sets the value of the
pool_misses
attribute. -
- (String) type
Returns the value of the
type
attribute. -
- (Object) type=(value)
Sets the value of the
type
attribute.
Methods included from Type
Constructor Details
- (GlusterMemoryPool) initialize(opts = {})
Creates a new instance of the OvirtSDK4::GlusterMemoryPool class.
30987 30988 30989 30990 30991 30992 30993 30994 30995 30996 30997 30998 30999 31000 31001 |
# File 'lib/ovirtsdk4/types.rb', line 30987 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 |
Instance Method Details
- (Integer) alloc_count
Returns the value of the alloc_count
attribute.
30744 30745 30746 |
# File 'lib/ovirtsdk4/types.rb', line 30744 def alloc_count return @alloc_count end |
- (Object) alloc_count=(value)
Sets the value of the alloc_count
attribute.
30753 30754 30755 |
# File 'lib/ovirtsdk4/types.rb', line 30753 def alloc_count=(value) @alloc_count = value end |
- (Integer) cold_count
Returns the value of the cold_count
attribute.
30762 30763 30764 |
# File 'lib/ovirtsdk4/types.rb', line 30762 def cold_count return @cold_count end |
- (Object) cold_count=(value)
Sets the value of the cold_count
attribute.
30771 30772 30773 |
# File 'lib/ovirtsdk4/types.rb', line 30771 def cold_count=(value) @cold_count = value end |
- (String) comment
Returns the value of the comment
attribute.
30780 30781 30782 |
# File 'lib/ovirtsdk4/types.rb', line 30780 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
30789 30790 30791 |
# File 'lib/ovirtsdk4/types.rb', line 30789 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
30798 30799 30800 |
# File 'lib/ovirtsdk4/types.rb', line 30798 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
30807 30808 30809 |
# File 'lib/ovirtsdk4/types.rb', line 30807 def description=(value) @description = value end |
- (Integer) hot_count
Returns the value of the hot_count
attribute.
30816 30817 30818 |
# File 'lib/ovirtsdk4/types.rb', line 30816 def hot_count return @hot_count end |
- (Object) hot_count=(value)
Sets the value of the hot_count
attribute.
30825 30826 30827 |
# File 'lib/ovirtsdk4/types.rb', line 30825 def hot_count=(value) @hot_count = value end |
- (String) id
Returns the value of the id
attribute.
30834 30835 30836 |
# File 'lib/ovirtsdk4/types.rb', line 30834 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
30843 30844 30845 |
# File 'lib/ovirtsdk4/types.rb', line 30843 def id=(value) @id = value end |
- (Integer) max_alloc
Returns the value of the max_alloc
attribute.
30852 30853 30854 |
# File 'lib/ovirtsdk4/types.rb', line 30852 def max_alloc return @max_alloc end |
- (Object) max_alloc=(value)
Sets the value of the max_alloc
attribute.
30861 30862 30863 |
# File 'lib/ovirtsdk4/types.rb', line 30861 def max_alloc=(value) @max_alloc = value end |
- (Integer) max_stdalloc
Returns the value of the max_stdalloc
attribute.
30870 30871 30872 |
# File 'lib/ovirtsdk4/types.rb', line 30870 def max_stdalloc return @max_stdalloc end |
- (Object) max_stdalloc=(value)
Sets the value of the max_stdalloc
attribute.
30879 30880 30881 |
# File 'lib/ovirtsdk4/types.rb', line 30879 def max_stdalloc=(value) @max_stdalloc = value end |
- (String) name
Returns the value of the name
attribute.
30888 30889 30890 |
# File 'lib/ovirtsdk4/types.rb', line 30888 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
30897 30898 30899 |
# File 'lib/ovirtsdk4/types.rb', line 30897 def name=(value) @name = value end |
- (Integer) padded_size
Returns the value of the padded_size
attribute.
30906 30907 30908 |
# File 'lib/ovirtsdk4/types.rb', line 30906 def padded_size return @padded_size end |
- (Object) padded_size=(value)
Sets the value of the padded_size
attribute.
30915 30916 30917 |
# File 'lib/ovirtsdk4/types.rb', line 30915 def padded_size=(value) @padded_size = value end |
- (Integer) pool_misses
Returns the value of the pool_misses
attribute.
30924 30925 30926 |
# File 'lib/ovirtsdk4/types.rb', line 30924 def pool_misses return @pool_misses end |
- (Object) pool_misses=(value)
Sets the value of the pool_misses
attribute.
30933 30934 30935 |
# File 'lib/ovirtsdk4/types.rb', line 30933 def pool_misses=(value) @pool_misses = value end |
- (String) type
Returns the value of the type
attribute.
30942 30943 30944 |
# File 'lib/ovirtsdk4/types.rb', line 30942 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
30951 30952 30953 |
# File 'lib/ovirtsdk4/types.rb', line 30951 def type=(value) @type = value end |