ExStreamClient.Model.SearchResponse (ExStreamClient v0.1.7)

View Source

Schema representing a SearchResponse

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.SearchResponse{
  duration: String.t(),
  next: String.t() | nil,
  previous: String.t() | nil,
  results: [ExStreamClient.Model.SearchResult.t()],
  results_warning: ExStreamClient.Model.SearchWarning.t() | nil
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()