struct

Matter::Cluster::Definitions::DoorLock::SetUserRequest

Inherits TLV::Serializable < Struct < Value < Object

Input to the DoorLock setUser command

Constructors

new(operation_type : DataOperationType, user_index : UInt16, user_name : String | Nil = nil, user_unique_id : UInt32 | Nil = nil, user_status : UserStatus | Nil = nil, user_type : UserType | Nil = nil, credential_rule : CredentialRule | Nil = nil)
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_rule
Source
credential_rule=(credential_rule : CredentialRule | Nil)
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)
Source
user_name
Source
user_name=(user_name : String | Nil)
Source
user_status
Source
user_status=(user_status : UserStatus | Nil)
Source
user_type
Source
user_type=(user_type : UserType | Nil)
Source
user_unique_id
Source
user_unique_id=(user_unique_id : UInt32 | Nil)
Source