SubmitPlanRequest

@Serializable
data class SubmitPlanRequest(val userId: UUID, val description: String, val periodTime: String, val planType: PlanType, val action: Action, val hooks: List<Hook> = listOf(), val maxFailureRetry: Int = 3)

Data class representing the request to submit a plan.

Constructors

Link copied to clipboard
constructor(userId: UUID, description: String, periodTime: String, planType: PlanType, action: Action, hooks: List<Hook> = listOf(), maxFailureRetry: Int = 3)

Properties

Link copied to clipboard

The action to be taken for the plan.

Link copied to clipboard

A brief description of the plan.

Link copied to clipboard

The list of hooks associated with the plan.

Link copied to clipboard

The maximum number of retries allowed for failures.

Link copied to clipboard

The time period for the plan.

Link copied to clipboard

The type of the plan.

Link copied to clipboard
@Serializable(with = UUIDSerializer::class)
val userId: UUID

The unique identifier of the user submitting the plan.