Method: OvirtSDK4::Spm#initialize

Defined in:
lib/ovirtsdk4/types.rb

#initialize(opts = {}) ⇒ Spm

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

  • :priority (Integer)

    The value of attribute priority.

  • :status (SpmStatus)

    The value of attribute status.



19813
19814
19815
19816
19817
# File 'lib/ovirtsdk4/types.rb', line 19813

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