Class: Nl::Linux::Devlink::AttributeSets::DlDpipeEntry

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/devlink.rb

Defined Under Namespace

Classes: Attribute, DpipeEntryActionValues, DpipeEntryCounter, DpipeEntryIndex, DpipeEntryMatchValues

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • name (Symbol)

Returns:



2989
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2989

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



2995
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2995

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#dpipe_entry_action_values ⇒ AttributeSets::DlDpipeEntryActionValues



2978
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2978

def dpipe_entry_action_values; self[:"dpipe_entry_action_values"]&.value; end

#dpipe_entry_counter ⇒ Integer

Returns:

  • (Integer)

See Also:



2982
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2982

def dpipe_entry_counter; self[:"dpipe_entry_counter"]&.value; end

#dpipe_entry_index ⇒ Integer

Returns:

  • (Integer)

See Also:



2970
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2970

def dpipe_entry_index; self[:"dpipe_entry_index"]&.value; end

#dpipe_entry_match_values ⇒ AttributeSets::DlDpipeEntryMatchValues



2974
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2974

def dpipe_entry_match_values; self[:"dpipe_entry_match_values"]&.value; end