Action

data class Action(val id: String, val owner: String, val virtualPresenceId: String, val dataHolderId: String? = null, val intent: ActionIntent, val additionalInfo: String? = null, val fulfilmentMethod: ActionFulfilmentMethod, val status: ActionStatus, val assistedPayload: AssistedPayload? = null, val initiatedAt: Date? = null, val completedAt: Date? = null, val version: Int, val createdAt: Date, val updatedAt: Date) : Parcelable

The Sudo Platform SDK representation of a persisted, initiated action instance scoped to a data holder relationship.

Constructors

Link copied to clipboard
constructor(id: String, owner: String, virtualPresenceId: String, dataHolderId: String? = null, intent: ActionIntent, additionalInfo: String? = null, fulfilmentMethod: ActionFulfilmentMethod, status: ActionStatus, assistedPayload: AssistedPayload? = null, initiatedAt: Date? = null, completedAt: Date? = null, version: Int, createdAt: Date, updatedAt: Date)

Properties

Link copied to clipboard
val additionalInfo: String? = null

String Additional info, populated when intent is ActionIntent.OTHER.

Link copied to clipboard

AssistedPayload Materials for an assisted action. null for a delegated action.

Link copied to clipboard
val completedAt: Date? = null

Date Date for when the action completed. May be null.

Link copied to clipboard

Date Date for when the action was created.

Link copied to clipboard
val dataHolderId: String? = null

String The data holder relationship this action is scoped to. May be null.

Link copied to clipboard
Link copied to clipboard
val id: String

String Unique identifier associated with the action.

Link copied to clipboard
val initiatedAt: Date? = null

Date Date for when the action was initiated. May be null.

Link copied to clipboard

ActionIntent The user-facing intent of the action.

Link copied to clipboard

String Unique identifier of the user associated with the action.

Link copied to clipboard

ActionStatus Current lifecycle status of the action.

Link copied to clipboard

Date Date for when the action was last updated.

Link copied to clipboard

Int Version of this entity. Increments on update.

Link copied to clipboard

String The virtual presence this action belongs to.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)