Class: OvirtSDK4::Value
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Value
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Fixnum) datum
Returns the value of the
datum
attribute. -
- (Object) datum=(value)
Sets the value of the
datum
attribute. -
- (String) detail
Returns the value of the
detail
attribute. -
- (Object) detail=(value)
Sets the value of the
detail
attribute. -
- (Value) initialize(opts = {})
constructor
Creates a new instance of the Value class.
Methods included from Type
Constructor Details
- (Value) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Value class.
17824 17825 17826 17827 17828 |
# File 'lib/ovirtsdk4/types.rb', line 17824 def initialize(opts = {}) super(opts) self.datum = opts[:datum] self.detail = opts[:detail] end |
Instance Method Details
- (Fixnum) datum
Returns the value of the datum
attribute.
17781 17782 17783 |
# File 'lib/ovirtsdk4/types.rb', line 17781 def datum return @datum end |
- (Object) datum=(value)
Sets the value of the datum
attribute.
17790 17791 17792 |
# File 'lib/ovirtsdk4/types.rb', line 17790 def datum=(value) @datum = value end |
- (String) detail
Returns the value of the detail
attribute.
17799 17800 17801 |
# File 'lib/ovirtsdk4/types.rb', line 17799 def detail return @detail end |
- (Object) detail=(value)
Sets the value of the detail
attribute.
17808 17809 17810 |
# File 'lib/ovirtsdk4/types.rb', line 17808 def detail=(value) @detail = value end |