ExStreamClient.Model.CampaignCompletedEvent (ExStreamClient v0.1.7)

View Source

Schema representing a CampaignCompletedEvent

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.CampaignCompletedEvent{
  campaign: ExStreamClient.Model.CampaignResponse.t() | nil,
  created_at: float(),
  custom: %{optional(String.t()) => any()},
  received_at: float() | 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()