Class: Nl::Linux::Ethtool::AttributeSets::ModuleFwFlash
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Ethtool::AttributeSets::ModuleFwFlash
- Defined in:
- nl-linux/generated/nl/linux/ethtool.rb
Defined Under Namespace
Classes: Attribute, Done, FileName, Header, Password, Status, StatusMsg, Total
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
- #done ⇒ Integer
- #file_name ⇒ String
- #header ⇒ AttributeSets::Header
- #password ⇒ Integer
-
#status ⇒ Integer
Known enum values are defined in Enums::ModuleFwFlashStatus.
- #status_msg ⇒ String
- #total ⇒ Integer
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.
5145 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5145 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
5151 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5151 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#done ⇒ Integer
5134 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5134 def done; self[:"done"]&.value; end |
#file_name ⇒ String
5117 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5117 def file_name; self[:"file_name"]&.value; end |
#header ⇒ AttributeSets::Header
5113 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5113 def header; self[:"header"]&.value; end |
#password ⇒ Integer
5121 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5121 def password; self[:"password"]&.value; end |
#status ⇒ Integer
Known enum values are defined in Enums::ModuleFwFlashStatus.
5126 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5126 def status; self[:"status"]&.value; end |
#status_msg ⇒ String
5130 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5130 def status_msg; self[:"status_msg"]&.value; end |
#total ⇒ Integer
5138 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 5138 def total; self[:"total"]&.value; end |