Humaans.Resources.Task (Humaans v0.6.0)

Copy Markdown View Source

Representation of a Task resource.

Summary

Types

t()

@type t() :: %Humaans.Resources.Task{
  company_id: binary() | nil,
  created_at: DateTime.t() | nil,
  description: binary() | nil,
  due_date: Date.t() | nil,
  id: binary() | nil,
  person_id: binary() | nil,
  priority: binary() | nil,
  status: binary() | nil,
  title: binary() | nil,
  updated_at: DateTime.t() | nil
}

Functions

build(map_or_kwlist, opts \\ [])

@spec build(ExConstructor.map_or_kwlist(), Keyword.t()) :: %Humaans.Resources.Task{
  company_id: term(),
  created_at: term(),
  description: term(),
  due_date: term(),
  id: term(),
  person_id: term(),
  priority: term(),
  status: term(),
  title: term(),
  updated_at: term()
}

new(data)