struct Matter::Cluster::Definitions::DoorLock::Events::LockOperation

Overview

Body of the DoorLock lockOperation event

Included Modules

Defined in:

matter/cluster/definitions/door_lock.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def credentials : Array(Credential) | Nil #

The list of credentials used in performing the lock operation. This shall be null if no credentials were involved.


[View source]
def credentials=(credentials : Array(Credential) | Nil) #

The list of credentials used in performing the lock operation. This shall be null if no credentials were involved.


[View source]
def fabric_index : DataType::FabricIndex | Nil #

The fabric index of the fabric that performed the lock operation. This shall be null if there is no fabric that can be determined for the given operation source. This shall NOT be null if the operation source is "Remote".


[View source]
def fabric_index=(fabric_index : DataType::FabricIndex | Nil) #

The fabric index of the fabric that performed the lock operation. This shall be null if there is no fabric that can be determined for the given operation source. This shall NOT be null if the operation source is "Remote".


[View source]
def lock_operation_type : LockOperationType #

The type of the lock operation that was performed.


[View source]
def lock_operation_type=(lock_operation_type : LockOperationType) #

The type of the lock operation that was performed.


[View source]
def operation_source : OperationSource #

The source of the lock operation that was performed.


[View source]
def operation_source=(operation_source : OperationSource) #

The source of the lock operation that was performed.


[View source]
def source_node : DataType::NodeId | Nil #

The Node ID of the node that performed the lock operation. This shall be null if there is no Node associated with the given operation source. This shall NOT be null if the operation source is "Remote".


[View source]
def source_node=(source_node : DataType::NodeId | Nil) #

The Node ID of the node that performed the lock operation. This shall be null if there is no Node associated with the given operation source. This shall NOT be null if the operation source is "Remote".


[View source]
def user_index : UInt16 | Nil #

The lock UserIndex who performed the lock operation. This shall be null if there is no user index that can be determined for the given operation source. This shall NOT be null if a user index can be determined. In particular, this shall NOT be null if the operation was associated with a valid credential.


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

The lock UserIndex who performed the lock operation. This shall be null if there is no user index that can be determined for the given operation source. This shall NOT be null if a user index can be determined. In particular, this shall NOT be null if the operation was associated with a valid credential.


[View source]