Class: OvirtSDK4::Fault
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Fault
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) detail
Returns the value of the
detail
attribute. -
- (Object) detail=(value)
Sets the value of the
detail
attribute. -
- (Fault) initialize(opts = {})
constructor
Creates a new instance of the Fault class.
-
- (String) reason
Returns the value of the
reason
attribute. -
- (Object) reason=(value)
Sets the value of the
reason
attribute.
Methods included from Type
Constructor Details
- (Fault) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Fault class.
2653 2654 2655 2656 2657 |
# File 'lib/ovirtsdk4/types.rb', line 2653 def initialize(opts = {}) super(opts) self.detail = opts[:detail] self.reason = opts[:reason] end |
Instance Method Details
- (String) detail
Returns the value of the detail
attribute.
2610 2611 2612 |
# File 'lib/ovirtsdk4/types.rb', line 2610 def detail return @detail end |
- (Object) detail=(value)
Sets the value of the detail
attribute.
2619 2620 2621 |
# File 'lib/ovirtsdk4/types.rb', line 2619 def detail=(value) @detail = value end |
- (String) reason
Returns the value of the reason
attribute.
2628 2629 2630 |
# File 'lib/ovirtsdk4/types.rb', line 2628 def reason return @reason end |
- (Object) reason=(value)
Sets the value of the reason
attribute.
2637 2638 2639 |
# File 'lib/ovirtsdk4/types.rb', line 2637 def reason=(value) @reason = value end |