ArchAstro.Types.Task (archastro v0.2.0)

Copy Markdown

A task representing a unit of work, optionally assignable to a user or agent.

Summary

Types

t()

@type t() :: %ArchAstro.Types.Task{
  agent: String.t() | ArchAstro.Unset.t(),
  blocked_by_count: integer() | ArchAstro.Unset.t(),
  closed_at: DateTime.t() | ArchAstro.Unset.t(),
  comments_count: integer() | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  created_by_actor: ArchAstro.Types.Actor.t() | ArchAstro.Unset.t(),
  created_by_agent: String.t() | ArchAstro.Unset.t(),
  created_by_user: String.t() | ArchAstro.Unset.t(),
  current_lease:
    ArchAstro.Types.TaskSessionLeaseSummary.t() | ArchAstro.Unset.t(),
  description: String.t() | ArchAstro.Unset.t(),
  due_date: DateTime.t() | ArchAstro.Unset.t(),
  id: String.t(),
  is_blocked: boolean() | ArchAstro.Unset.t(),
  links: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  metadata: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  name: String.t(),
  org: String.t() | ArchAstro.Unset.t(),
  owner_actor: ArchAstro.Types.Actor.t() | ArchAstro.Unset.t(),
  owner_agent: String.t() | ArchAstro.Unset.t(),
  owner_user: String.t() | ArchAstro.Unset.t(),
  parent: String.t() | ArchAstro.Unset.t(),
  priority: integer() | ArchAstro.Unset.t(),
  sandbox: String.t() | ArchAstro.Unset.t(),
  status: String.t(),
  subtasks_count: integer() | ArchAstro.Unset.t(),
  tags: [String.t()] | ArchAstro.Unset.t(),
  team: String.t() | ArchAstro.Unset.t(),
  thread: String.t() | ArchAstro.Unset.t(),
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  user: String.t() | ArchAstro.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()