UnlockInvokeResult

@Serializable
data class UnlockInvokeResult(val vin: String? = null, val invokeStatus: String? = null, val message: String? = null, val readyToUnlock: Boolean? = null, val readyToUnlockUntil: Long? = null) : BaseInvokeResult(source)

Unlock command invocation result with additional unlock-specific fields.

Extends the standard BaseInvokeResult with information about the unlock readiness state.

Constructors

Link copied to clipboard
constructor(vin: String? = null, invokeStatus: String? = null, message: String? = null, readyToUnlock: Boolean? = null, readyToUnlockUntil: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "invokeStatus")
open override val invokeStatus: String?

Current status ("RUNNING", "COMPLETED", "FAILED").

Link copied to clipboard
@SerialName(value = "message")
open override val message: String?

Optional details about the command execution.

Link copied to clipboard
@SerialName(value = "readyToUnlock")
val readyToUnlock: Boolean?

Whether the vehicle is ready to be unlocked.

Link copied to clipboard
@SerialName(value = "readyToUnlockUntil")
val readyToUnlockUntil: Long?

Timestamp (in milliseconds since epoch) until which the vehicle remains ready to unlock.

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "vin")
open override val vin: String?

Vehicle Identification Number.