Class: OvirtSDK4::Console
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Console
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Boolean) enabled
Returns the value of the
enabled
attribute. -
- (Object) enabled=(value)
Sets the value of the
enabled
attribute. -
- (Console) initialize(opts = {})
constructor
Creates a new instance of the Console class.
Methods included from Type
Constructor Details
- (Console) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Console class.
1561 1562 1563 1564 |
# File 'lib/ovirtsdk4/types.rb', line 1561 def initialize(opts = {}) super(opts) self.enabled = opts[:enabled] end |
Instance Method Details
- (Boolean) enabled
Returns the value of the enabled
attribute.
1538 1539 1540 |
# File 'lib/ovirtsdk4/types.rb', line 1538 def enabled return @enabled end |
- (Object) enabled=(value)
Sets the value of the enabled
attribute.
1547 1548 1549 |
# File 'lib/ovirtsdk4/types.rb', line 1547 def enabled=(value) @enabled = value end |