Humaans.Resources.TimesheetEntry (Humaans v0.5.1)

Copy Markdown View Source

Representation of a Timesheet Entry resource.

Summary

Types

t()

@type t() :: %Humaans.Resources.TimesheetEntry{
  created_at: DateTime.t() | nil,
  date: Date.t() | nil,
  duration: %{hours: integer(), minutes: integer()} | nil,
  end_time: binary(),
  id: binary(),
  person_id: binary(),
  start_time: binary(),
  updated_at: DateTime.t() | nil
}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) ::
  %Humaans.Resources.TimesheetEntry{
    created_at: term(),
    date: term(),
    duration: term(),
    end_time: term(),
    id: term(),
    person_id: term(),
    start_time: term(),
    updated_at: term()
  }

new(data)