Method: OvirtSDK4::OpenStackImage#initialize

Defined in:
lib/ovirtsdk4/types.rb

#initialize(opts = {}) ⇒ OpenStackImage

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

  • :comment (String)

    The value of attribute comment.

  • :description (String)

    The value of attribute description.

  • :id (String)

    The value of attribute id.

  • :name (String)

    The value of attribute name.

  • :openstack_image_provider (OpenStackImageProvider, Hash)

    The value of attribute openstack_image_provider.



12821
12822
12823
12824
# File 'lib/ovirtsdk4/types.rb', line 12821

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