Class: Nl::Linux::Dpll::Messages::DoPinIdGetRequest

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/dpll.rb

Overview

Get id of a pin that matches given attributes

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
7
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Pin
ATTRIBUTES =
Ractor.make_shareable(%i[module_name clock_id board_label panel_label package_label type])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#board_label ⇒ String

Returns:

  • (String)

See Also:



1505
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1505

def board_label; attributes[:"board_label"]&.value; end

#clock_id ⇒ Integer

Returns:

  • (Integer)

See Also:



1501
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1501

def clock_id; attributes[:"clock_id"]&.value; end

#module_name ⇒ String

Returns:

  • (String)

See Also:



1497
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1497

def module_name; attributes[:"module_name"]&.value; end

#package_label ⇒ String

Returns:

  • (String)

See Also:



1513
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1513

def package_label; attributes[:"package_label"]&.value; end

#panel_label ⇒ String

Returns:

  • (String)

See Also:



1509
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1509

def panel_label; attributes[:"panel_label"]&.value; end

#type ⇒ Integer

Known enum values are defined in Enums::PinType.

Returns:

  • (Integer)

See Also:



1518
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1518

def type; attributes[:"type"]&.value; end