Class: Nl::Linux::Dpll::AttributeSets::PinParentPin
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Dpll::AttributeSets::PinParentPin
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Defined Under Namespace
Classes: Attribute, ParentId, State
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
- #parent_id ⇒ Integer
-
#state ⇒ Integer
Known enum values are defined in Enums::PinState.
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.
1130 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1130 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
1136 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1136 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#parent_id ⇒ Integer
1118 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1118 def parent_id; self[:"parent_id"]&.value; end |
#state ⇒ Integer
Known enum values are defined in Enums::PinState.
1123 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 1123 def state; self[:"state"]&.value; end |