ExStreamClient.Model.PushTemplateResponse (ExStreamClient v0.2.0)

Copy Markdown View Source

Schema representing a PushTemplateResponse

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.PushTemplateResponse{
  created_at: DateTime.t() | integer() | String.t(),
  enable_push: boolean(),
  event_type: String.t(),
  push_provider_internal_id: String.t(),
  template: String.t() | nil,
  updated_at: DateTime.t() | integer() | 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()