Class: OvirtSDK4::MigrationBandwidth
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::MigrationBandwidth
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (MigrationBandwidthAssignmentMethod) assignment_method
Returns the value of the
assignment_method
attribute. -
- (Object) assignment_method=(value)
Sets the value of the
assignment_method
attribute. -
- (Integer) custom_value
Returns the value of the
custom_value
attribute. -
- (Object) custom_value=(value)
Sets the value of the
custom_value
attribute. -
- (MigrationBandwidth) initialize(opts = {})
constructor
Creates a new instance of the MigrationBandwidth class.
Methods included from Type
Constructor Details
- (MigrationBandwidth) initialize(opts = {})
Creates a new instance of the OvirtSDK4::MigrationBandwidth class.
6590 6591 6592 6593 6594 |
# File 'lib/ovirtsdk4/types.rb', line 6590 def initialize(opts = {}) super(opts) self.assignment_method = opts[:assignment_method] self.custom_value = opts[:custom_value] end |
Instance Method Details
- (MigrationBandwidthAssignmentMethod) assignment_method
Returns the value of the assignment_method
attribute.
6547 6548 6549 |
# File 'lib/ovirtsdk4/types.rb', line 6547 def assignment_method return @assignment_method end |
- (Object) assignment_method=(value)
Sets the value of the assignment_method
attribute.
6556 6557 6558 |
# File 'lib/ovirtsdk4/types.rb', line 6556 def assignment_method=(value) @assignment_method = value end |
- (Integer) custom_value
Returns the value of the custom_value
attribute.
6565 6566 6567 |
# File 'lib/ovirtsdk4/types.rb', line 6565 def custom_value return @custom_value end |
- (Object) custom_value=(value)
Sets the value of the custom_value
attribute.
6574 6575 6576 |
# File 'lib/ovirtsdk4/types.rb', line 6574 def custom_value=(value) @custom_value = value end |