ExStreamClient.Model.APNS (ExStreamClient v0.1.7)

View Source

Schema representing a APNS

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.APNS{
  body: String.t(),
  "content-available": integer() | nil,
  data: %{optional(String.t()) => any()} | nil,
  "mutable-content": integer() | nil,
  sound: String.t() | nil,
  title: 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()