Represents the response structure for retrieving a list of plans. Contains a list of plans, the total number of plans, and the offset for pagination.

Constructors

Properties

Constructors

  • Creates an instance of the ListPlanResponse class.

    Parameters

    • data: { offset: number; plans: Plan[]; total: number }

      The data containing the list of plans, total count, and offset.

      • offset: number

        The offset used for pagination.

      • plans: Plan[]

        The list of plans being returned in the response.

      • total: number

        The total number of plans available.

    Returns ListPlanResponse

Properties

offset: number

The offset used for pagination.

plans: Plan[]

A list of plans returned in the response.

total: number

The total number of plans available.