Represents a request to update an existing plan. Contains optional parameters to modify the plan's period time, failure retries, and hooks.

Constructors

  • Creates an instance of the UpdatePlanRequest class.

    Parameters

    • plan_id: string

      The ID of the plan to be updated.

    • Optionalperiod_time: string

      The new period time for the plan. Optional.

    • Optionalmax_failure_retry: number

      The new maximum number of failure retries. Optional.

    • Optionalhooks: Hook[]

      The new list of hooks for the plan. Optional.

    Returns UpdatePlanRequest

Properties

hooks?: Hook[]

The new list of hooks to be associated with the plan. Optional.

max_failure_retry?: number

The new maximum number of failure retries for the plan. Optional.

period_time?: string

The new period time for the plan (e.g., "daily", "weekly"). Optional.

plan_id: string

The unique ID of the plan to be updated.