struct

Matter::Cluster::AccessControlCluster::AccessControlEntry

Inherits TLV::Serializable < Struct < Value < Object

Access Control Entry

Constructors

new(privilege : AccessControlEntryPrivilege, auth_mode : AccessControlEntryAuthMode, subjects : Array(UInt64), targets : Array(Target) | Nil, fabric_index : UInt8 | Nil = nil)
Source
new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

auth_mode
Source
auth_mode=(auth_mode : AccessControlEntryAuthMode)
Source
fabric_index

fabric_index is optional during deserialization (client doesn't send it), but required when stored (server fills it in)

Source
fabric_index=(fabric_index : UInt8 | Nil)

fabric_index is optional during deserialization (client doesn't send it), but required when stored (server fills it in)

Source
privilege
Source
privilege=(privilege : AccessControlEntryPrivilege)
Source
subjects
Source
subjects=(subjects : Array(UInt64))
Source
targets
Source
targets=(targets : Array(Target) | Nil)
Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source