struct
Matter::Cluster::AccessControlCluster::AccessControlEntry
- Matter::Cluster::AccessControlCluster::AccessControlEntry
- Struct
- Value
- Object
Overview
Access Control Entry
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/access_control_cluster.crConstructors
- .new(privilege : AccessControlEntryPrivilege, auth_mode : AccessControlEntryAuthMode, subjects : Array(UInt64), targets : Array(Target) | Nil, fabric_index : UInt8)
- .new(any : TLV::Any)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
- #auth_mode : AccessControlEntryAuthMode
- #auth_mode=(auth_mode : AccessControlEntryAuthMode)
-
#fabric_index : UInt8 | Nil
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 : AccessControlEntryPrivilege
- #privilege=(privilege : AccessControlEntryPrivilege)
- #subjects : Array(UInt64)
- #subjects=(subjects : Array(UInt64))
- #targets : Array(Target) | Nil
- #targets=(targets : Array(Target) | Nil)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
def self.new(privilege : AccessControlEntryPrivilege, auth_mode : AccessControlEntryAuthMode, subjects : Array(UInt64), targets : Array(Target) | Nil, fabric_index : UInt8)
#
Class Method Detail
Instance Method Detail
def fabric_index : UInt8 | Nil
#
fabric_index is optional during deserialization (client doesn't send it), but required when stored (server fills it in)
def 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)
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#