Class: OvirtSDK4::Vendor
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Vendor
- 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. -
- (Vendor) initialize(opts = {})
constructor
Creates a new instance of the Vendor 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
- (Vendor) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Vendor class.
17980 17981 17982 17983 17984 17985 17986 |
# File 'lib/ovirtsdk4/types.rb', line 17980 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.
17897 17898 17899 |
# File 'lib/ovirtsdk4/types.rb', line 17897 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
17906 17907 17908 |
# File 'lib/ovirtsdk4/types.rb', line 17906 def comment=(value) @comment = value end |
- (String) description
Returns the value of the description
attribute.
17915 17916 17917 |
# File 'lib/ovirtsdk4/types.rb', line 17915 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
17924 17925 17926 |
# File 'lib/ovirtsdk4/types.rb', line 17924 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
17933 17934 17935 |
# File 'lib/ovirtsdk4/types.rb', line 17933 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
17942 17943 17944 |
# File 'lib/ovirtsdk4/types.rb', line 17942 def id=(value) @id = value end |
- (String) name
Returns the value of the name
attribute.
17951 17952 17953 |
# File 'lib/ovirtsdk4/types.rb', line 17951 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
17960 17961 17962 |
# File 'lib/ovirtsdk4/types.rb', line 17960 def name=(value) @name = value end |