Creates an instance of the SubmitPlanRequest class.
The ID of the user submitting the plan.
A description of the plan.
The period of time (e.g., "daily", "weekly") for plan execution.
The type of the plan (e.g., recurring, one-time).
The action to be executed as part of the plan.
A list of hooks to be triggered by the plan. Defaults to an empty array.
The maximum number of failure retries for tasks. Defaults to 3.
The action that should be executed as part of the plan.
A description of the plan.
A list of hooks that are associated with the plan.
The maximum number of failure retries for tasks in the plan. Defaults to 3.
The period of time for which the plan will be executed (e.g., "daily", "weekly").
The type of the plan (e.g., recurring, one-time).
The ID of the user who is submitting the plan.
Represents a request to submit a new plan. Contains details about the user, plan type, action, hooks, and retries.