Class: OvirtSDK4::Option
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Option
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Option) initialize(opts = {})
constructor
Creates a new instance of the Option class.
-
- (String) name
Returns the value of the
name
attribute. -
- (Object) name=(value)
Sets the value of the
name
attribute. -
- (String) type
Returns the value of the
type
attribute. -
- (Object) type=(value)
Sets the value of the
type
attribute. -
- (String) value
Returns the value of the
value
attribute. -
- (Object) value=(value)
Sets the value of the
value
attribute.
Methods included from Type
Constructor Details
- (Option) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Option class.
9719 9720 9721 9722 9723 9724 |
# File 'lib/ovirtsdk4/types.rb', line 9719 def initialize(opts = {}) super(opts) self.name = opts[:name] self.type = opts[:type] self.value = opts[:value] end |
Instance Method Details
- (String) name
Returns the value of the name
attribute.
9656 9657 9658 |
# File 'lib/ovirtsdk4/types.rb', line 9656 def name return @name end |
- (Object) name=(value)
Sets the value of the name
attribute.
9665 9666 9667 |
# File 'lib/ovirtsdk4/types.rb', line 9665 def name=(value) @name = value end |
- (String) type
Returns the value of the type
attribute.
9674 9675 9676 |
# File 'lib/ovirtsdk4/types.rb', line 9674 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
9683 9684 9685 |
# File 'lib/ovirtsdk4/types.rb', line 9683 def type=(value) @type = value end |
- (String) value
Returns the value of the value
attribute.
9692 9693 9694 |
# File 'lib/ovirtsdk4/types.rb', line 9692 def value return @value end |
- (Object) value=(value)
Sets the value of the value
attribute.
9701 9702 9703 |
# File 'lib/ovirtsdk4/types.rb', line 9701 def value=(value) @value = value end |