Humaans.Resources.TimesheetEntry (Humaans v0.4.0)

View Source

Representation of a Timesheet Entry resource.

Summary

Types

t()

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

Functions

new(map_or_kwlist, opts \\ [])

@spec new(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()
  }