ExStreamClient.Model.MaxStreakChangedEvent (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a MaxStreakChangedEvent

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.MaxStreakChangedEvent{
  created_at: DateTime.t() | integer() | String.t(),
  custom: %{optional(String.t()) => any()},
  received_at: (DateTime.t() | integer() | String.t()) | nil,
  type: String.t()
}

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