Class: OvirtSDK4::Product
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Product
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary collapse
-
#comment ⇒ String
Returns the value of the
comment
attribute. -
#comment=(value) ⇒ Object
Sets the value of the
comment
attribute. -
#description ⇒ String
Returns the value of the
description
attribute. -
#description=(value) ⇒ Object
Sets the value of the
description
attribute. -
#id ⇒ String
Returns the value of the
id
attribute. -
#id=(value) ⇒ Object
Sets the value of the
id
attribute. -
#initialize(opts = {}) ⇒ Product
constructor
Creates a new instance of the Product class.
-
#name ⇒ String
Returns the value of the
name
attribute. -
#name=(value) ⇒ Object
Sets the value of the
name
attribute.
Methods inherited from Identified
Methods inherited from Struct
Methods included from Type
Constructor Details
#initialize(opts = {}) ⇒ Product
Creates a new instance of the OvirtSDK4::Product class.
14671 14672 14673 |
# File 'lib/ovirtsdk4/types.rb', line 14671 def initialize(opts = {}) super(opts) end |
Instance Method Details
#comment ⇒ String
Returns the value of the comment
attribute.
14588 14589 14590 |
# File 'lib/ovirtsdk4/types.rb', line 14588 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
14597 14598 14599 |
# File 'lib/ovirtsdk4/types.rb', line 14597 def comment=(value) @comment = value end |
#description ⇒ String
Returns the value of the description
attribute.
14606 14607 14608 |
# File 'lib/ovirtsdk4/types.rb', line 14606 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
14615 14616 14617 |
# File 'lib/ovirtsdk4/types.rb', line 14615 def description=(value) @description = value end |
#id ⇒ String
Returns the value of the id
attribute.
14624 14625 14626 |
# File 'lib/ovirtsdk4/types.rb', line 14624 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
14633 14634 14635 |
# File 'lib/ovirtsdk4/types.rb', line 14633 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name
attribute.
14642 14643 14644 |
# File 'lib/ovirtsdk4/types.rb', line 14642 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
14651 14652 14653 |
# File 'lib/ovirtsdk4/types.rb', line 14651 def name=(value) @name = value end |