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