UpdatePlanRequest

@Serializable
data class UpdatePlanRequest(val planId: UUID, val periodTime: String? = null, val maxFailureRetry: Int? = null, val hooks: List<Hook>? = null)

Data class representing a request to update a plan.

Constructors

Link copied to clipboard
constructor(planId: UUID, periodTime: String? = null, maxFailureRetry: Int? = null, hooks: List<Hook>? = null)

Properties

Link copied to clipboard
val hooks: List<Hook>? = null

The new list of hooks to be associated with the plan (optional).

Link copied to clipboard
val maxFailureRetry: Int? = null

The new maximum number of retries on failure (optional).

Link copied to clipboard
val periodTime: String? = null

The new period time for the plan (optional).

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

The unique identifier of the plan to be updated.