DoorLockTrait.UnlockWithTimeoutCommand.Request

class DoorLockTrait.UnlockWithTimeoutCommand.Request


The request payload for the UnlockWithTimeout command.

Summary

Public constructors

Request(timeout: UShort, pinCode: OptionalValue<ByteArray>)

Creates a request payload for the UnlockWithTimeout command.

Public properties

OptionalValue<ByteArray>
UShort

The number of seconds to wait before relocking the door lock.

Public constructors

Request

Request(
    timeout: UShort,
    pinCode: OptionalValue<ByteArray> = OptionalValue.absent()
)

Creates a request payload for the UnlockWithTimeout command.

Public properties

pinCode

val pinCodeOptionalValue<ByteArray>

timeout

val timeoutUShort

The number of seconds to wait before relocking the door lock.