Class: Nl::Linux::Devlink::AttributeSets::DlDpipeActionValue
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Devlink::AttributeSets::DlDpipeActionValue
- Defined in:
- nl-linux/generated/nl/linux/devlink.rb
Defined Under Namespace
Classes: Attribute, DpipeAction, DpipeValue, DpipeValueMapping, DpipeValueMask
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
- #dpipe_action ⇒ Array<AttributeSets::DlDpipeAction>
- #dpipe_value ⇒ String
- #dpipe_value_mapping ⇒ Integer
- #dpipe_value_mask ⇒ String
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
3375 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3375 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3381 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3381 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#dpipe_action ⇒ Array<AttributeSets::DlDpipeAction>
3356 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3356 def dpipe_action; self[:"dpipe_action"].map(&:value); end |
#dpipe_value ⇒ String
3360 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3360 def dpipe_value; self[:"dpipe_value"]&.value; end |
#dpipe_value_mapping ⇒ Integer
3368 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3368 def dpipe_value_mapping; self[:"dpipe_value_mapping"]&.value; end |
#dpipe_value_mask ⇒ String
3364 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3364 def dpipe_value_mask; self[:"dpipe_value_mask"]&.value; end |