Class: OvirtSDK4::ErrorHandling

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

- (ErrorHandling) initialize(opts = {})

Creates a new instance of the OvirtSDK4::ErrorHandling 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):



2596
2597
2598
2599
# File 'lib/ovirtsdk4/types.rb', line 2596

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

Instance Method Details

- (MigrateOnError) on_error

Returns the value of the on_error attribute.

Returns:



2573
2574
2575
# File 'lib/ovirtsdk4/types.rb', line 2573

def on_error
  return @on_error
end

- (Object) on_error=(value)

Sets the value of the on_error attribute.

Parameters:



2582
2583
2584
# File 'lib/ovirtsdk4/types.rb', line 2582

def on_error=(value)
  @on_error = value
end