NotionElixir.ListResponse (notion_elixir v0.1.2) View Source

API Response struct representing a list of objects.

Link to this section Summary

Functions

Build a list response object from a raw client response.

Link to this section Types

Specs

t() :: %NotionElixir.ListResponse{
  body: map(),
  has_more: boolean(),
  headers: Keyword.t(),
  next_cursor: binary() | nil,
  results: map(),
  success: boolean()
}

Link to this section Functions

Specs

build(%{body: map(), headers: Keyword.t()}) :: t()

Build a list response object from a raw client response.