Class: OvirtSDK4::HostDevicePassthrough
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::HostDevicePassthrough
- 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. -
- (HostDevicePassthrough) initialize(opts = {})
constructor
Creates a new instance of the HostDevicePassthrough class.
Methods included from Type
Constructor Details
- (HostDevicePassthrough) initialize(opts = {})
Creates a new instance of the OvirtSDK4::HostDevicePassthrough class.
3406 3407 3408 3409 |
# File 'lib/ovirtsdk4/types.rb', line 3406 def initialize(opts = {}) super(opts) self.enabled = opts[:enabled] end |
Instance Method Details
- (Boolean) enabled
Returns the value of the enabled
attribute.
3383 3384 3385 |
# File 'lib/ovirtsdk4/types.rb', line 3383 def enabled return @enabled end |
- (Object) enabled=(value)
Sets the value of the enabled
attribute.
3392 3393 3394 |
# File 'lib/ovirtsdk4/types.rb', line 3392 def enabled=(value) @enabled = value end |