Travel.Types.PaginationMeta (travel v0.2.0)

Copy Markdown View Source

Summary

Types

t()

Pagination metadata returned from list endpoints.

Types

t()

@type t() :: %Travel.Types.PaginationMeta{
  after: (String.t() | nil) | nil,
  before: (String.t() | nil) | nil,
  limit: (integer() | nil) | nil
}

Pagination metadata returned from list endpoints.

Fields

  • :limit - The number of results per page
  • :before - Cursor for the previous page
  • :after - Cursor for the next page