struct

Matter::Cluster::Definitions::DoorLock::SetCredentialRequest

Inherits TLV::Serializable < Struct < Value < Object

Input to the DoorLock setCredential command

Constructors

new(operation_type : DataOperationType, credential : Credential, credential_data : Slice(UInt8), user_index : UInt16 | Nil = nil, user_status : UserStatus | Nil = nil, user_type : UserType = UserType::UnrestrictedUser)
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

credential
Source
credential=(credential : Credential)
Source
credential_data
Source
credential_data=(credential_data : Slice(UInt8))
Source
operation_type
Source
operation_type=(operation_type : DataOperationType)
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
user_index
Source
user_index=(user_index : UInt16 | Nil)
Source
user_status
Source
user_status=(user_status : UserStatus | Nil)
Source
user_type
Source
user_type=(user_type : UserType)
Source