Class: OvirtSDK4::PmProxy

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

- (PmProxy) initialize(opts = {})

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



10438
10439
10440
10441
# File 'lib/ovirtsdk4/types.rb', line 10438

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

Instance Method Details

- (PmProxyType) type

Returns the value of the type attribute.

Returns:



10415
10416
10417
# File 'lib/ovirtsdk4/types.rb', line 10415

def type
  return @type
end

- (Object) type=(value)

Sets the value of the type attribute.

Parameters:



10424
10425
10426
# File 'lib/ovirtsdk4/types.rb', line 10424

def type=(value)
  @type = value
end