Humaans.Resources.TimeAwayAdjustment (Humaans v0.6.0)

Copy Markdown View Source

Representation of a Time Away Adjustment resource.

Summary

Types

t()

@type t() :: %Humaans.Resources.TimeAwayAdjustment{
  amount: number() | nil,
  created_at: DateTime.t() | nil,
  id: binary() | nil,
  note: binary() | nil,
  person_id: binary() | nil,
  time_away_allocation_id: binary() | nil,
  updated_at: DateTime.t() | nil
}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) ::
  %Humaans.Resources.TimeAwayAdjustment{
    amount: term(),
    created_at: term(),
    id: term(),
    note: term(),
    person_id: term(),
    time_away_allocation_id: term(),
    updated_at: term()
  }

new(data)