ActionResult

data class ActionResult(val success: Boolean, val message: String, val data: Map<String, Any?>? = null, val actionId: String? = null)

Result of an action execution.

Constructors

Link copied to clipboard
constructor(success: Boolean, message: String, data: Map<String, Any?>? = null, actionId: String? = null)

Properties

Link copied to clipboard

the ID of the action that was executed (for tracking)

Link copied to clipboard
val data: Map<String, Any?>?

optional additional data returned by the action

Link copied to clipboard

a human-readable status message

Link copied to clipboard

whether the action was successfully queued/executed