ArchAstro.SDK.Types.Operations.PostApiV1UsersUserTasks.Input.Nested.Task (archastro v0.3.1)

Copy Markdown

Task API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.SDK.Types.Operations.PostApiV1UsersUserTasks.Input.Nested.Task{
    description: String.t() | ArchAstro.SDK.Unset.t(),
    due_date: DateTime.t() | ArchAstro.SDK.Unset.t(),
    links:
      %{optional(String.t()) => ArchAstro.SDK.JSON.t()}
      | ArchAstro.SDK.Unset.t(),
    metadata:
      %{optional(String.t()) => ArchAstro.SDK.JSON.t()}
      | ArchAstro.SDK.Unset.t(),
    name: String.t(),
    owner_agent: String.t() | ArchAstro.SDK.Unset.t(),
    owner_user: String.t() | ArchAstro.SDK.Unset.t(),
    parent: String.t() | ArchAstro.SDK.Unset.t(),
    priority: integer() | ArchAstro.SDK.Unset.t(),
    status: String.t() | ArchAstro.SDK.Unset.t(),
    tags: [String.t()] | ArchAstro.SDK.Unset.t(),
    thread: String.t() | ArchAstro.SDK.Unset.t()
  }

Functions

from_map(data)

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

matches?(value)

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

to_map(value)

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