ArchAstro.Types.SolutionListResponse (archastro v0.2.0)

Copy Markdown

A paginated collection of Solution summaries, with page metadata for navigating the result set.

Summary

Types

t()

@type t() :: %ArchAstro.Types.SolutionListResponse{
  data: [ArchAstro.Types.SolutionSummary.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()