Class: OvirtSDK4::Method

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

- (Method) initialize(opts = {})

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

  • :id (SsoMethod)

    The value of attribute id.



6533
6534
6535
6536
# File 'lib/ovirtsdk4/types.rb', line 6533

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

Instance Method Details

- (SsoMethod) id

Returns the value of the id attribute.

Returns:



6510
6511
6512
# File 'lib/ovirtsdk4/types.rb', line 6510

def id
  return @id
end

- (Object) id=(value)

Sets the value of the id attribute.

Parameters:



6519
6520
6521
# File 'lib/ovirtsdk4/types.rb', line 6519

def id=(value)
  @id = value
end