ArchAstro. Types. Artifact
(archastro v0.2.0)
Copy Markdown
A versioned artifact produced or managed by an agent, such as a generated file, report, or code output.
Summary
Types
@type t() :: %ArchAstro.Types.Artifact{ agent: String.t() | ArchAstro.Unset.t(), content_type: String.t() | ArchAstro.Unset.t(), created_at: DateTime.t() | ArchAstro.Unset.t(), current_version: String.t() | ArchAstro.Unset.t(), description: String.t() | ArchAstro.Unset.t(), file: String.t() | ArchAstro.Unset.t(), file_name: String.t() | ArchAstro.Unset.t(), file_url: String.t() | ArchAstro.Unset.t(), id: String.t(), image_source: ArchAstro.Types.ImageSource.t() | ArchAstro.Unset.t(), name: String.t() | ArchAstro.Unset.t(), org: String.t() | ArchAstro.Unset.t(), sandbox: 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(), version: integer() | ArchAstro.Unset.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()