struct Matter::InteractionModel::AttributePath

Overview

Attribute path identifying a specific attribute

Defined in:

matter/interaction_model/paths.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(endpoint : UInt16 | Nil = nil, cluster : UInt32 | Nil = nil, attribute : UInt32 | Nil = nil, list_index : UInt16 | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : AttributePath) : Bool #

[View source]
def attribute : UInt32 | Nil #

[View source]
def attribute=(attribute : UInt32 | Nil) #

[View source]
def cluster : UInt32 | Nil #

[View source]
def cluster=(cluster : UInt32 | Nil) #

[View source]
def concrete? #

Concrete path specifies a single attribute


[View source]
def endpoint : UInt16 | Nil #

[View source]
def endpoint=(endpoint : UInt16 | Nil) #

[View source]
def list_index : UInt16 | Nil #

[View source]
def list_index=(list_index : UInt16 | Nil) #

[View source]
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.


[View source]
def wildcard? #

Wildcard path matches all endpoints/clusters/attributes


[View source]