Class: OvirtSDK4::HostNicVirtualFunctionsConfiguration
- Inherits:
-
Struct
- Object
- Struct
- OvirtSDK4::HostNicVirtualFunctionsConfiguration
- Defined in:
- lib/ovirtsdk4/types.rb,
lib/ovirtsdk4/types.rb
Instance Method Summary (collapse)
-
- (Boolean) all_networks_allowed
Returns the value of the
all_networks_allowed
attribute. -
- (Object) all_networks_allowed=(value)
Sets the value of the
all_networks_allowed
attribute. -
- (HostNicVirtualFunctionsConfiguration) initialize(opts = {})
constructor
Creates a new instance of the HostNicVirtualFunctionsConfiguration class.
-
- (Integer) max_number_of_virtual_functions
Returns the value of the
max_number_of_virtual_functions
attribute. -
- (Object) max_number_of_virtual_functions=(value)
Sets the value of the
max_number_of_virtual_functions
attribute. -
- (Integer) number_of_virtual_functions
Returns the value of the
number_of_virtual_functions
attribute. -
- (Object) number_of_virtual_functions=(value)
Sets the value of the
number_of_virtual_functions
attribute.
Methods included from Type
Constructor Details
- (HostNicVirtualFunctionsConfiguration) initialize(opts = {})
Creates a new instance of the OvirtSDK4::HostNicVirtualFunctionsConfiguration class.
3483 3484 3485 3486 3487 3488 |
# File 'lib/ovirtsdk4/types.rb', line 3483 def initialize(opts = {}) super(opts) self.all_networks_allowed = opts[:all_networks_allowed] self.max_number_of_virtual_functions = opts[:max_number_of_virtual_functions] self.number_of_virtual_functions = opts[:number_of_virtual_functions] end |
Instance Method Details
- (Boolean) all_networks_allowed
Returns the value of the all_networks_allowed
attribute.
3420 3421 3422 |
# File 'lib/ovirtsdk4/types.rb', line 3420 def all_networks_allowed return @all_networks_allowed end |
- (Object) all_networks_allowed=(value)
Sets the value of the all_networks_allowed
attribute.
3429 3430 3431 |
# File 'lib/ovirtsdk4/types.rb', line 3429 def all_networks_allowed=(value) @all_networks_allowed = value end |
- (Integer) max_number_of_virtual_functions
Returns the value of the max_number_of_virtual_functions
attribute.
3438 3439 3440 |
# File 'lib/ovirtsdk4/types.rb', line 3438 def max_number_of_virtual_functions return @max_number_of_virtual_functions end |
- (Object) max_number_of_virtual_functions=(value)
Sets the value of the max_number_of_virtual_functions
attribute.
3447 3448 3449 |
# File 'lib/ovirtsdk4/types.rb', line 3447 def max_number_of_virtual_functions=(value) @max_number_of_virtual_functions = value end |
- (Integer) number_of_virtual_functions
Returns the value of the number_of_virtual_functions
attribute.
3456 3457 3458 |
# File 'lib/ovirtsdk4/types.rb', line 3456 def number_of_virtual_functions return @number_of_virtual_functions end |
- (Object) number_of_virtual_functions=(value)
Sets the value of the number_of_virtual_functions
attribute.
3465 3466 3467 |
# File 'lib/ovirtsdk4/types.rb', line 3465 def number_of_virtual_functions=(value) @number_of_virtual_functions = value end |