Method: OvirtSDK4::ProductInfo#initialize

Defined in:
lib/ovirtsdk4/types.rb

#initialize(opts = {}) ⇒ ProductInfo

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

  • :instance_id (String)

    The value of attribute instance_id.

  • :name (String)

    The value of attribute name.

  • :vendor (String)

    The value of attribute vendor.

  • :version (Version, Hash)

    The value of attribute version.



15247
15248
15249
15250
15251
15252
15253
# File 'lib/ovirtsdk4/types.rb', line 15247

def initialize(opts = {})
  super(opts)
  self.instance_id = opts[:instance_id]
  self.name = opts[:name]
  self.vendor = opts[:vendor]
  self.version = opts[:version]
end