Class: Nl::Linux::Devlink::AttributeSets::DlDpipeAction
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Devlink::AttributeSets::DlDpipeAction
- Defined in:
- nl-linux/generated/nl/linux/devlink.rb
Defined Under Namespace
Classes: Attribute, DpipeActionType, DpipeFieldId, DpipeHeaderGlobal, DpipeHeaderId, DpipeHeaderIndex
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_type ⇒ Integer
Known enum values are defined in Enums::DpipeActionType.
- #dpipe_field_id ⇒ Integer
- #dpipe_header_global ⇒ Integer
-
#dpipe_header_id ⇒ Integer
Known enum values are defined in Enums::DpipeHeaderId.
- #dpipe_header_index ⇒ Integer
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.
3304 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3304 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
3310 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3310 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#dpipe_action_type ⇒ Integer
Known enum values are defined in Enums::DpipeActionType.
3280 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3280 def dpipe_action_type; self[:"dpipe_action_type"]&.value; end |
#dpipe_field_id ⇒ Integer
3297 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3297 def dpipe_field_id; self[:"dpipe_field_id"]&.value; end |
#dpipe_header_global ⇒ Integer
3289 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3289 def dpipe_header_global; self[:"dpipe_header_global"]&.value; end |
#dpipe_header_id ⇒ Integer
Known enum values are defined in Enums::DpipeHeaderId.
3285 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3285 def dpipe_header_id; self[:"dpipe_header_id"]&.value; end |
#dpipe_header_index ⇒ Integer
3293 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 3293 def dpipe_header_index; self[:"dpipe_header_index"]&.value; end |