ArchAstro.Types.ExtractionOutput (archastro v0.2.0)

Copy Markdown

A produced file tracked by an extraction. Type, size, and URL live on the file it points at.

Summary

Types

t()

@type t() :: %ArchAstro.Types.ExtractionOutput{
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  file: ArchAstro.Types.StorageFile.t() | ArchAstro.Unset.t(),
  id: String.t(),
  ordinal: integer() | ArchAstro.Unset.t(),
  source_url: String.t() | ArchAstro.Unset.t(),
  state: 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()