Inttegro.Chimes.ChimeRecipient (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Chimes.ChimeRecipient{
  email: Inttegro.Chimes.ChimeRecipientEmail.t() | nil,
  name: String.t() | nil,
  phone: Inttegro.Chimes.ChimeRecipientPhone.t() | nil,
  type: Inttegro.Chimes.ChimeRecipientType.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()