Class: OvirtSDK4::SeLinux
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::SeLinux
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (SeLinux) initialize(opts = {})
constructor
Creates a new instance of the SeLinux class.
-
- (SeLinuxMode) mode
Returns the value of the
mode
attribute. -
- (Object) mode=(value)
Sets the value of the
mode
attribute.
Methods included from Type
Constructor Details
- (SeLinux) initialize(opts = {})
Creates a new instance of the OvirtSDK4::SeLinux class.
13614 13615 13616 13617 |
# File 'lib/ovirtsdk4/types.rb', line 13614 def initialize(opts = {}) super(opts) self.mode = opts[:mode] end |
Instance Method Details
- (SeLinuxMode) mode
Returns the value of the mode
attribute.
13591 13592 13593 |
# File 'lib/ovirtsdk4/types.rb', line 13591 def mode return @mode end |
- (Object) mode=(value)
Sets the value of the mode
attribute.
13600 13601 13602 |
# File 'lib/ovirtsdk4/types.rb', line 13600 def mode=(value) @mode = value end |