DoorLockTrait.GetCredentialStatusCommand.Response

class DoorLockTrait.GetCredentialStatusCommand.Response


Returns the status for the specified credential.

Summary

Public constructors

Response(
    credentialExists: Boolean,
    userIndex: UShort?,
    creatorFabricIndex: UByte?,
    lastModifiedFabricIndex: UByte?,
    nextCredentialIndex: UShort?
)

Creates a response payload from the GetCredentialStatus command.

Public properties

UByte?

The credential's creator fabric index.

Boolean

A boolean value indicating the requested credential type and index exists and is populated for a given user index.

UByte?

The credential's last modifier fabric index.

UShort?

The next occupied index in the database for the credential type requested, which is useful for quickly identifying occupied credential slots in the database.

UShort?

The credential's corresponding user index value if the credential exists.

Public constructors

Response

Response(
    credentialExists: Boolean = false,
    userIndex: UShort? = null,
    creatorFabricIndex: UByte? = null,
    lastModifiedFabricIndex: UByte? = null,
    nextCredentialIndex: UShort? = null
)

Creates a response payload from the GetCredentialStatus command.

Public properties

creatorFabricIndex

val creatorFabricIndexUByte?

The credential's creator fabric index.

credentialExists

val credentialExistsBoolean

A boolean value indicating the requested credential type and index exists and is populated for a given user index.

lastModifiedFabricIndex

val lastModifiedFabricIndexUByte?

The credential's last modifier fabric index.

nextCredentialIndex

val nextCredentialIndexUShort?

The next occupied index in the database for the credential type requested, which is useful for quickly identifying occupied credential slots in the database.

userIndex

val userIndexUShort?

The credential's corresponding user index value if the credential exists.