ScheduledActionView
constructor(id: Long, action: ScheduledActionViewAction, eventData: JsonContent? = null, did: Did, executeAt: Timestamp? = null, executeAfter: Timestamp? = null, executeUntil: Timestamp? = null, randomizeExecution: Boolean? = null, createdBy: Did, createdAt: Timestamp, updatedAt: Timestamp? = null, status: ScheduledActionViewStatus, lastExecutedAt: Timestamp? = null, lastFailureReason: String? = null, executionEventId: Long? = null)
Parameters
id
Auto-incrementing row ID
action
Type of action to be executed
eventData
Serialized event object that will be propagated to the event when performed
did
Subject DID for the action
executeAt
Exact time to execute the action
executeAfter
Earliest time to execute the action (for randomized scheduling)
executeUntil
Latest time to execute the action (for randomized scheduling)
randomizeExecution
Whether execution time should be randomized within the specified range
createdBy
DID of the user who created this scheduled action
createdAt
When the scheduled action was created
updatedAt
When the scheduled action was last updated
status
Current status of the scheduled action
lastExecutedAt
When the action was last attempted to be executed
lastFailureReason
Reason for the last execution failure
executionEventId
ID of the moderation event created when action was successfully executed