CommandResponse

@Serializable
data class CommandResponse(val status: Int? = null, val operationId: String? = null, val data: InvokeResult? = null)(source)

Response for a command invocation.

This is the standard response returned by most vehicle commands (lock, honk, flash, engine start/stop, climatization).

See also

for unlock-specific response with additional fields.

Constructors

Link copied to clipboard
constructor(status: Int? = null, operationId: String? = null, data: InvokeResult? = null)

Properties

Link copied to clipboard
@SerialName(value = "data")
val data: InvokeResult?

The command invocation result.

Link copied to clipboard
@SerialName(value = "operationId")
val operationId: String?

Unique identifier for tracking this operation.

Link copied to clipboard
@SerialName(value = "status")
val status: Int?

HTTP status code from the operation.