Class: OvirtSDK4::Icon
- Inherits:
-
Identified
- Object
- Struct
- Identified
- OvirtSDK4::Icon
- 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) data
Returns the value of the
data
attribute. -
- (Object) data=(value)
Sets the value of the
data
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. -
- (Icon) initialize(opts = {})
constructor
Creates a new instance of the Icon class.
-
- (String) media_type
Returns the value of the
media_type
attribute. -
- (Object) media_type=(value)
Sets the value of the
media_type
attribute. -
- (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
- (Icon) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Icon class.
35375 35376 35377 35378 35379 35380 35381 35382 35383 |
# File 'lib/ovirtsdk4/types.rb', line 35375 def initialize(opts = {}) super(opts) self.comment = opts[:comment] self.data = opts[:data] self.description = opts[:description] self.id = opts[:id] self.media_type = opts[:media_type] self.name = opts[:name] end |
Instance Method Details
- (String) comment
Returns the value of the comment
attribute.
35252 35253 35254 |
# File 'lib/ovirtsdk4/types.rb', line 35252 def comment return @comment end |
- (Object) comment=(value)
Sets the value of the comment
attribute.
35261 35262 35263 |
# File 'lib/ovirtsdk4/types.rb', line 35261 def comment=(value) @comment = value end |
- (String) data
Returns the value of the data
attribute.
35270 35271 35272 |
# File 'lib/ovirtsdk4/types.rb', line 35270 def data return @data end |
- (Object) data=(value)
Sets the value of the data
attribute.
35279 35280 35281 |
# File 'lib/ovirtsdk4/types.rb', line 35279 def data=(value) @data = value end |
- (String) description
Returns the value of the description
attribute.
35288 35289 35290 |
# File 'lib/ovirtsdk4/types.rb', line 35288 def description return @description end |
- (Object) description=(value)
Sets the value of the description
attribute.
35297 35298 35299 |
# File 'lib/ovirtsdk4/types.rb', line 35297 def description=(value) @description = value end |
- (String) id
Returns the value of the id
attribute.
35306 35307 35308 |
# File 'lib/ovirtsdk4/types.rb', line 35306 def id return @id end |
- (Object) id=(value)
Sets the value of the id
attribute.
35315 35316 35317 |
# File 'lib/ovirtsdk4/types.rb', line 35315 def id=(value) @id = value end |
- (String) media_type
Returns the value of the media_type
attribute.
35324 35325 35326 |
# File 'lib/ovirtsdk4/types.rb', line 35324 def media_type return @media_type end |
- (Object) media_type=(value)
Sets the value of the media_type
attribute.
35333 35334 35335 |
# File 'lib/ovirtsdk4/types.rb', line 35333 def media_type=(value) @media_type = value end |
- (String) name
Returns the value of the name
attribute.
35342 35343 35344 |
# File 'lib/ovirtsdk4/types.rb', line 35342 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
35351 35352 35353 |
# File 'lib/ovirtsdk4/types.rb', line 35351 def name=(value) @name = value end |