Method: OvirtSDK4::HostDevicePassthrough#initialize

Defined in:
lib/ovirtsdk4/types.rb

#initialize(opts = {}) ⇒ HostDevicePassthrough

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



5228
5229
5230
5231
# File 'lib/ovirtsdk4/types.rb', line 5228

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