Class: OvirtSDK4::VnicPassThrough
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::VnicPassThrough
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (VnicPassThrough) initialize(opts = {})
constructor
Creates a new instance of the VnicPassThrough class.
-
- (VnicPassThroughMode) mode
Returns the value of the
mode
attribute. -
- (Object) mode=(value)
Sets the value of the
mode
attribute.
Methods included from Type
Constructor Details
- (VnicPassThrough) initialize(opts = {})
Creates a new instance of the OvirtSDK4::VnicPassThrough class.
20234 20235 20236 20237 |
# File 'lib/ovirtsdk4/types.rb', line 20234 def initialize(opts = {}) super(opts) self.mode = opts[:mode] end |
Instance Method Details
- (VnicPassThroughMode) mode
Returns the value of the mode
attribute.
20211 20212 20213 |
# File 'lib/ovirtsdk4/types.rb', line 20211 def mode return @mode end |
- (Object) mode=(value)
Sets the value of the mode
attribute.
20220 20221 20222 |
# File 'lib/ovirtsdk4/types.rb', line 20220 def mode=(value) @mode = value end |