ArchAstro.Types.AgentComputer (archastro v0.2.0)

Copy Markdown

A cloud computer resource provisioned for an agent to use for browser and desktop automation tasks.

Summary

Types

t()

@type t() :: %ArchAstro.Types.AgentComputer{
  agent: String.t() | ArchAstro.Unset.t(),
  app: String.t() | ArchAstro.Unset.t(),
  config: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  error_message: String.t() | ArchAstro.Unset.t(),
  id: String.t(),
  last_active_at: DateTime.t() | ArchAstro.Unset.t(),
  lookup_key: String.t() | ArchAstro.Unset.t(),
  metadata: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  name: String.t() | ArchAstro.Unset.t(),
  provider: String.t() | ArchAstro.Unset.t(),
  region: String.t() | ArchAstro.Unset.t(),
  sprite_url: String.t() | ArchAstro.Unset.t(),
  status: 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()