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)
Sourcenew(any : TLV::Any)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
auth_mode
Sourceauth_mode=(auth_mode : AccessControlEntryAuthMode)
Sourcefabric_index
fabric_index is optional during deserialization (client doesn't send it), but required when stored (server fills it in)
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)
privilege
Sourceprivilege=(privilege : AccessControlEntryPrivilege)
Sourcesubjects
Sourcesubjects=(subjects : Array(UInt64))
Sourcetargets
Sourcetargets=(targets : Array(Target) | Nil)
Sourceto_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source