Humaans.Resources.EmergencyContact (Humaans v0.6.0)

Copy Markdown View Source

Representation of an Emergency Contact resource.

Summary

Types

t()

@type t() :: %Humaans.Resources.EmergencyContact{
  created_at: DateTime.t() | nil,
  email: binary() | nil,
  id: binary() | nil,
  name: binary() | nil,
  person_id: binary() | nil,
  phone_number: binary() | nil,
  relationship: binary() | nil,
  updated_at: DateTime.t() | nil
}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) ::
  %Humaans.Resources.EmergencyContact{
    created_at: term(),
    email: term(),
    id: term(),
    name: term(),
    person_id: term(),
    phone_number: term(),
    relationship: term(),
    updated_at: term()
  }

new(data)