Tinkex.Types.CheckpointsListResponse (Tinkex v0.3.4)

View Source

Response from list_checkpoints or list_user_checkpoints API.

Contains a list of checkpoints and optional cursor for pagination.

Summary

Functions

Convert a map (from JSON) to a CheckpointsListResponse struct.

Types

t()

@type t() :: %Tinkex.Types.CheckpointsListResponse{
  checkpoints: [Tinkex.Types.Checkpoint.t()],
  cursor: Tinkex.Types.Cursor.t() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

Convert a map (from JSON) to a CheckpointsListResponse struct.