Class: Nl::Linux::Devlink::Messages::DoHealthReporterGetReply

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

Overview

Get health reporter instances.

Constant Summary collapse

TYPE =
52
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Devlink
ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name index])

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

#bus_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#dev_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#health_reporter_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#index ⇒ Integer

Unique devlink instance index.

Returns:

  • (Integer)

See Also:



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

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

#port_index ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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