Class: OvirtSDK4::Configuration
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Configuration
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (String) data
Returns the value of the
data
attribute. -
- (Object) data=(value)
Sets the value of the
data
attribute. -
- (Configuration) initialize(opts = {})
constructor
Creates a new instance of the Configuration class.
-
- (ConfigurationType) type
Returns the value of the
type
attribute. -
- (Object) type=(value)
Sets the value of the
type
attribute.
Methods included from Type
Constructor Details
- (Configuration) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Configuration class.
1523 1524 1525 1526 1527 |
# File 'lib/ovirtsdk4/types.rb', line 1523 def initialize(opts = {}) super(opts) self.data = opts[:data] self.type = opts[:type] end |
Instance Method Details
- (String) data
Returns the value of the data
attribute.
1480 1481 1482 |
# File 'lib/ovirtsdk4/types.rb', line 1480 def data return @data end |
- (Object) data=(value)
Sets the value of the data
attribute.
1489 1490 1491 |
# File 'lib/ovirtsdk4/types.rb', line 1489 def data=(value) @data = value end |
- (ConfigurationType) type
Returns the value of the type
attribute.
1498 1499 1500 |
# File 'lib/ovirtsdk4/types.rb', line 1498 def type return @type end |
- (Object) type=(value)
Sets the value of the type
attribute.
1507 1508 1509 |
# File 'lib/ovirtsdk4/types.rb', line 1507 def type=(value) @type = value end |