ArchAstro.Types.TaskComment (archastro v0.2.0)

Copy Markdown

A comment posted on a task by a user or an agent, including resolved author information.

Summary

Types

t()

@type t() :: %ArchAstro.Types.TaskComment{
  author_actor: ArchAstro.Types.Actor.t() | ArchAstro.Unset.t(),
  author_agent: String.t() | ArchAstro.Unset.t(),
  author_user: String.t() | ArchAstro.Unset.t(),
  body: String.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  id: String.t(),
  org: String.t() | ArchAstro.Unset.t(),
  sandbox: String.t() | ArchAstro.Unset.t(),
  task: String.t() | ArchAstro.Unset.t(),
  team: String.t() | ArchAstro.Unset.t(),
  updated_at: DateTime.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()