ExStreamClient.Model.ChannelBatchCompletedEvent (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a ChannelBatchCompletedEvent

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.ChannelBatchCompletedEvent{
  batch_created_at: DateTime.t() | integer() | String.t(),
  created_at: DateTime.t() | integer() | String.t(),
  custom: %{optional(String.t()) => any()},
  failed_channels: [ExStreamClient.Model.FailedChannelUpdates.t()],
  finished_at: DateTime.t() | integer() | String.t(),
  operation: String.t(),
  received_at: (DateTime.t() | integer() | String.t()) | nil,
  status: String.t(),
  success_channels_count: integer(),
  task_id: String.t(),
  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()