Class: OvirtSDK4::SkipIfConnectivityBroken
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::SkipIfConnectivityBroken
- 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. -
- (SkipIfConnectivityBroken) initialize(opts = {})
constructor
Creates a new instance of the SkipIfConnectivityBroken class.
-
- (Integer) threshold
Returns the value of the
threshold
attribute. -
- (Object) threshold=(value)
Sets the value of the
threshold
attribute.
Methods included from Type
Constructor Details
- (SkipIfConnectivityBroken) initialize(opts = {})
Creates a new instance of the OvirtSDK4::SkipIfConnectivityBroken class.
13955 13956 13957 13958 13959 |
# File 'lib/ovirtsdk4/types.rb', line 13955 def initialize(opts = {}) super(opts) self.enabled = opts[:enabled] self.threshold = opts[:threshold] end |
Instance Method Details
- (Boolean) enabled
Returns the value of the enabled
attribute.
13912 13913 13914 |
# File 'lib/ovirtsdk4/types.rb', line 13912 def enabled return @enabled end |
- (Object) enabled=(value)
Sets the value of the enabled
attribute.
13921 13922 13923 |
# File 'lib/ovirtsdk4/types.rb', line 13921 def enabled=(value) @enabled = value end |
- (Integer) threshold
Returns the value of the threshold
attribute.
13930 13931 13932 |
# File 'lib/ovirtsdk4/types.rb', line 13930 def threshold return @threshold end |
- (Object) threshold=(value)
Sets the value of the threshold
attribute.
13939 13940 13941 |
# File 'lib/ovirtsdk4/types.rb', line 13939 def threshold=(value) @threshold = value end |