Class: OvirtSDK4::Product
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Product
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) comment
Returns the value of the
comment
attribute. -
- (Object) comment=(value)
Sets the value of the
comment
attribute. -
- (String) description
Returns the value of the
description
attribute. -
- (Object) description=(value)
Sets the value of the
description
attribute. -
- (String) id
Returns the value of the
id
attribute. -
- (Object) id=(value)
Sets the value of the
id
attribute. -
- (Product) initialize(opts = {})
constructor
Creates a new instance of the Product class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute.
Methods included from Type
Constructor Details
- (Product) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Product class.
10819 10820 10821 10822 10823 10824 10825 |
# File 'lib/ovirtsdk4/types.rb', line 10819 def initialize(opts = {}) super(opts) self.comment = opts[:comment] self.description = opts[:description] self.id = opts[:id] self.name = opts[:name] end |
Instance Method Details
- (String) comment
Returns the value of the comment
attribute.
10736 10737 10738 |
# File 'lib/ovirtsdk4/types.rb', line 10736 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
10745 10746 10747 |
# File 'lib/ovirtsdk4/types.rb', line 10745 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
10754 10755 10756 |
# File 'lib/ovirtsdk4/types.rb', line 10754 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
10763 10764 10765 |
# File 'lib/ovirtsdk4/types.rb', line 10763 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
10772 10773 10774 |
# File 'lib/ovirtsdk4/types.rb', line 10772 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
10781 10782 10783 |
# File 'lib/ovirtsdk4/types.rb', line 10781 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
10790 10791 10792 |
# File 'lib/ovirtsdk4/types.rb', line 10790 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
10799 10800 10801 |
# File 'lib/ovirtsdk4/types.rb', line 10799 def name=(value) @name = value end |