struct

Matter::Cluster::AttributeMetadata

Inherits Struct < Value < Object

Attribute metadata

Constructors

new(id : DataType::AttributeId, name : String, type : Symbol, writable : Bool = false, optional : Bool = false, fixed : Bool = false, default : Bytes | Nil = nil, min : Int64 | Nil = nil, max : Int64 | Nil = nil, access : Definitions::AccessControl::EntryPrivilege = Definitions::AccessControl::EntryPrivilege::View)
Source

Instance methods

access
Source
access=(access : Definitions::AccessControl::EntryPrivilege)
Source
default
Source
default=(default : Bytes | Nil)
Source
fixed=(fixed : Bool)
Source
fixed?
Source
id=(id : DataType::AttributeId)
Source
max=(max : Int64 | Nil)
Source
min=(min : Int64 | Nil)
Source
name
Source
name=(name : String)
Source
optional=(optional : Bool)
Source
optional?
Source
type
Source
type=(type : Symbol)
Source
writable=(writable : Bool)
Source
writable?
Source