Class: OvirtSDK4::VirtioScsi
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::VirtioScsi
- 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. -
- (VirtioScsi) initialize(opts = {})
constructor
Creates a new instance of the VirtioScsi class.
Methods included from Type
Constructor Details
- (VirtioScsi) initialize(opts = {})
Creates a new instance of the OvirtSDK4::VirtioScsi class.
18225 18226 18227 18228 |
# File 'lib/ovirtsdk4/types.rb', line 18225 def initialize(opts = {}) super(opts) self.enabled = opts[:enabled] end |
Instance Method Details
- (Boolean) enabled
Returns the value of the enabled
attribute.
18202 18203 18204 |
# File 'lib/ovirtsdk4/types.rb', line 18202 def enabled return @enabled end |
- (Object) enabled=(value)
Sets the value of the enabled
attribute.
18211 18212 18213 |
# File 'lib/ovirtsdk4/types.rb', line 18211 def enabled=(value) @enabled = value end |