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.
15144 15145 15146 |
# File 'lib/ovirtsdk4/types.rb', line 15144 def initialize(opts = {}) super(opts) end |
Instance Method Details
#comment ⇒ String
Returns the value of the comment
attribute.
15061 15062 15063 |
# File 'lib/ovirtsdk4/types.rb', line 15061 def comment @comment end |
#comment=(value) ⇒ Object
Sets the value of the comment
attribute.
15070 15071 15072 |
# File 'lib/ovirtsdk4/types.rb', line 15070 def comment=(value) @comment = value end |
#description ⇒ String
Returns the value of the description
attribute.
15079 15080 15081 |
# File 'lib/ovirtsdk4/types.rb', line 15079 def description @description end |
#description=(value) ⇒ Object
Sets the value of the description
attribute.
15088 15089 15090 |
# File 'lib/ovirtsdk4/types.rb', line 15088 def description=(value) @description = value end |
#id ⇒ String
Returns the value of the id
attribute.
15097 15098 15099 |
# File 'lib/ovirtsdk4/types.rb', line 15097 def id @id end |
#id=(value) ⇒ Object
Sets the value of the id
attribute.
15106 15107 15108 |
# File 'lib/ovirtsdk4/types.rb', line 15106 def id=(value) @id = value end |
#name ⇒ String
Returns the value of the name
attribute.
15115 15116 15117 |
# File 'lib/ovirtsdk4/types.rb', line 15115 def name @name end |
#name=(value) ⇒ Object
Sets the value of the name
attribute.
15124 15125 15126 |
# File 'lib/ovirtsdk4/types.rb', line 15124 def name=(value) @name = value end |