Class: OvirtSDK4::Vendor

Inherits:
Identified show all
Defined in:
lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb

Instance Method Summary collapse

Methods inherited from Identified

#==, #hash

Methods inherited from Struct

#==, #hash

Methods included from Type

#dig, #href, #href=

Constructor Details

#initialize(opts = {}) ⇒ Vendor

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



24862
24863
24864
# File 'lib/ovirtsdk4/types.rb', line 24862

def initialize(opts = {})
  super(opts)
end

Instance Method Details

#commentString

Returns the value of the comment attribute.

Returns:

  • (String)


24779
24780
24781
# File 'lib/ovirtsdk4/types.rb', line 24779

def comment
  @comment
end

#comment=(value) ⇒ Object

Sets the value of the comment attribute.

Parameters:

  • value (String)


24788
24789
24790
# File 'lib/ovirtsdk4/types.rb', line 24788

def comment=(value)
  @comment = value
end

#descriptionString

Returns the value of the description attribute.

Returns:

  • (String)


24797
24798
24799
# File 'lib/ovirtsdk4/types.rb', line 24797

def description
  @description
end

#description=(value) ⇒ Object

Sets the value of the description attribute.

Parameters:

  • value (String)


24806
24807
24808
# File 'lib/ovirtsdk4/types.rb', line 24806

def description=(value)
  @description = value
end

#idString

Returns the value of the id attribute.

Returns:

  • (String)


24815
24816
24817
# File 'lib/ovirtsdk4/types.rb', line 24815

def id
  @id
end

#id=(value) ⇒ Object

Sets the value of the id attribute.

Parameters:

  • value (String)


24824
24825
24826
# File 'lib/ovirtsdk4/types.rb', line 24824

def id=(value)
  @id = value
end

#nameString

Returns the value of the name attribute.

Returns:

  • (String)


24833
24834
24835
# File 'lib/ovirtsdk4/types.rb', line 24833

def name
  @name
end

#name=(value) ⇒ Object

Sets the value of the name attribute.

Parameters:

  • value (String)


24842
24843
24844
# File 'lib/ovirtsdk4/types.rb', line 24842

def name=(value)
  @name = value
end