Class: OvirtSDK4::Boot
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::Boot
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Array<BootDevice>) devices
Returns the value of the
devices
attribute. -
- (Object) devices=(list)
Sets the value of the
devices
attribute. -
- (Boot) initialize(opts = {})
constructor
Creates a new instance of the Boot class.
Methods included from Type
Constructor Details
- (Boot) initialize(opts = {})
Creates a new instance of the OvirtSDK4::Boot class.
1231 1232 1233 1234 |
# File 'lib/ovirtsdk4/types.rb', line 1231 def initialize(opts = {}) super(opts) self.devices = opts[:devices] end |
Instance Method Details
- (Array<BootDevice>) devices
Returns the value of the devices
attribute.
1209 1210 1211 |
# File 'lib/ovirtsdk4/types.rb', line 1209 def devices return @devices end |
- (Object) devices=(list)
Sets the value of the devices
attribute.
1217 1218 1219 |
# File 'lib/ovirtsdk4/types.rb', line 1217 def devices=(list) @devices = list end |