ArchAstro.Types.ActivityFeedEntry (archastro v0.2.0)

Copy Markdown

A single event record in an activity feed, capturing what happened, who caused it, and which resources were involved.

Summary

Types

t()

@type t() :: %ArchAstro.Types.ActivityFeedEntry{
  agent:
    String.t()
    | ArchAstro.Types.ActivityFeedEntry.Nested.AgentVariant2.t()
    | ArchAstro.Unset.t(),
  app: String.t() | ArchAstro.Unset.t(),
  attachments:
    [%{optional(String.t()) => ArchAstro.JSON.t()}] | ArchAstro.Unset.t(),
  automation_run: String.t() | ArchAstro.Unset.t(),
  content: String.t() | ArchAstro.Unset.t(),
  correlation_id: String.t() | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  id: String.t(),
  kind: String.t() | ArchAstro.Unset.t(),
  level: String.t() | ArchAstro.Unset.t(),
  metadata: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  org: String.t() | ArchAstro.Unset.t(),
  routine_run: String.t() | ArchAstro.Unset.t(),
  sandbox: String.t() | ArchAstro.Unset.t(),
  session_record: String.t() | ArchAstro.Unset.t(),
  team: String.t() | ArchAstro.Unset.t(),
  thread: String.t() | ArchAstro.Unset.t(),
  title: String.t() | ArchAstro.Unset.t(),
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  user:
    String.t()
    | ArchAstro.Types.ActivityFeedEntry.Nested.UserVariant2.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()