Packages

A client for [Stream](https://getstream.io) REST APIs in Elixir - auto generated from their [OpenAPI specification](https://github.com/GetStream/protocol).

Current section

Files

Jump to
ex_stream_client lib ex_stream_client model apns.ex
Raw

lib/ex_stream_client/model/apns.ex

defmodule ExStreamClient.Model.APNS do
@moduledoc "Schema representing a APNS"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:body, :title]
defstruct [:body, :"content-available", :data, :"mutable-content", :sound, :title]
@nested_components []
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
body: String.t(),
"content-available": integer() | nil,
data: %{optional(String.t()) => any()} | nil,
"mutable-content": integer() | nil,
sound: String.t() | nil,
title: String.t()
}
end