struct
Matter::InteractionModel::AttributePath
- Matter::InteractionModel::AttributePath
- Struct
- Value
- Object
Overview
Attribute path identifying a specific attribute
Defined in:
matter/interaction_model/paths.crConstructors
Instance Method Summary
- #==(other : AttributePath) : Bool
- #attribute : UInt32 | Nil
- #attribute=(attribute : UInt32 | Nil)
- #cluster : UInt32 | Nil
- #cluster=(cluster : UInt32 | Nil)
-
#concrete?
Concrete path specifies a single attribute
- #endpoint : UInt16 | Nil
- #endpoint=(endpoint : UInt16 | Nil)
- #list_index : UInt16 | Nil
- #list_index=(list_index : UInt16 | Nil)
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
-
#wildcard?
Wildcard path matches all endpoints/clusters/attributes
Constructor Detail
def self.new(endpoint : UInt16 | Nil = nil, cluster : UInt32 | Nil = nil, attribute : UInt32 | Nil = nil, list_index : UInt16 | Nil = nil)
#
Instance Method Detail
def to_s : String
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.