Class: OvirtSDK4::Ksm

Inherits:
Struct
  • Object
show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Instance Method Summary (collapse)

Methods included from Type

#href, #href=

Constructor Details

- (Ksm) initialize(opts = {})

Creates a new instance of the OvirtSDK4::Ksm class.

Parameters:

  • opts (Hash) (defaults to: {})

    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.

Options Hash (opts):

  • :enabled (Boolean)

    The value of attribute enabled.

  • :merge_across_nodes (Boolean)

    The value of attribute merge_across_nodes.



5764
5765
5766
5767
5768
# File 'lib/ovirtsdk4/types.rb', line 5764

def initialize(opts = {})
  super(opts)
  self.enabled = opts[:enabled]
  self.merge_across_nodes = opts[:merge_across_nodes]
end

Instance Method Details

- (Boolean) enabled

Returns the value of the enabled attribute.

Returns:

  • (Boolean)


5721
5722
5723
# File 'lib/ovirtsdk4/types.rb', line 5721

def enabled
  return @enabled
end

- (Object) enabled=(value)

Sets the value of the enabled attribute.

Parameters:

  • value (Boolean)


5730
5731
5732
# File 'lib/ovirtsdk4/types.rb', line 5730

def enabled=(value)
  @enabled = value
end

- (Boolean) merge_across_nodes

Returns the value of the merge_across_nodes attribute.

Returns:

  • (Boolean)


5739
5740
5741
# File 'lib/ovirtsdk4/types.rb', line 5739

def merge_across_nodes
  return @merge_across_nodes
end

- (Object) merge_across_nodes=(value)

Sets the value of the merge_across_nodes attribute.

Parameters:

  • value (Boolean)


5748
5749
5750
# File 'lib/ovirtsdk4/types.rb', line 5748

def merge_across_nodes=(value)
  @merge_across_nodes = value
end