Represents the response structure for retrieving a single plan. Contains the plan and its latest associated task.

Constructors

Properties

Constructors

  • Creates an instance of the GetPlanResponse class.

    Parameters

    • data: { latest_task: Task; plan: Plan }

      The data containing the plan and the latest task.

      • latest_task: Task

        The latest task associated with the plan.

      • plan: Plan

        The plan that is being returned in the response.

    Returns GetPlanResponse

Properties

latest_task: Task

The latest task associated with the plan.

plan: Plan

The plan associated with the response.