Inttegro.Broadcasts.BroadcastDetail (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Broadcasts.BroadcastDetail{
  chime_ids: [String.t()] | nil,
  content: String.t(),
  created_at: String.t(),
  customer_ids: [String.t()] | nil,
  email: Inttegro.Chimes.ChimeEmailMessage.t() | nil,
  errors: [Inttegro.Broadcasts.BroadcastError.t()] | nil,
  executed_at: String.t() | nil,
  id: String.t(),
  idempotency_key: String.t() | nil,
  purpose: String.t() | nil,
  recipients: [String.t()],
  send_after: String.t(),
  sender_id: String.t()
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()