Class: Nl::Linux::RtLink::AttributeSets::LinkinfoAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::RtLink::AttributeSets::LinkinfoAttrs
- Defined in:
- nl-linux/generated/nl/linux/rt_link.rb
Defined Under Namespace
Classes: Attribute, Data, Kind, SlaveData, SlaveKind, Xstats
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
- #data ⇒ SubMessages::LinkinfoDataMsg::Bond, ...
- #kind ⇒ String
- #slave_data ⇒ SubMessages::LinkinfoMemberDataMsg::Bridge, ...
- #slave_kind ⇒ String
- #xstats ⇒ 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.
2448 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2448 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
2454 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2454 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#data ⇒ SubMessages::LinkinfoDataMsg::Bond, ...
2429 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2429 def data; self[:"data"]&.value; end |
#kind ⇒ String
2425 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2425 def kind; self[:"kind"]&.value; end |
#slave_data ⇒ SubMessages::LinkinfoMemberDataMsg::Bridge, ...
2441 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2441 def slave_data; self[:"slave_data"]&.value; end |
#slave_kind ⇒ String
2437 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2437 def slave_kind; self[:"slave_kind"]&.value; end |
#xstats ⇒ String
2433 |
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2433 def xstats; self[:"xstats"]&.value; end |