ExStreamClient.Model.GetTaskResponse (ExStreamClient v0.1.7)

View Source

Schema representing a GetTaskResponse

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.GetTaskResponse{
  created_at: float(),
  duration: String.t(),
  error: ExStreamClient.Model.ErrorResult.t() | nil,
  result: %{optional(String.t()) => any()} | nil,
  status: String.t(),
  task_id: String.t(),
  updated_at: float()
}

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()