ArchAstro.Types.CustomObjectListResponse (archastro v0.2.0)

Copy Markdown

A paginated page of custom objects returned by a list operation. Use the pagination fields to navigate through result sets.

Summary

Types

t()

@type t() :: %ArchAstro.Types.CustomObjectListResponse{
  data: [ArchAstro.Types.CustomObject.t()],
  has_next: boolean(),
  has_prev: boolean(),
  page: integer(),
  page_size: integer(),
  total_entries: integer(),
  total_pages: integer()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()