ArchAstro.Types.CustomObject (archastro v0.2.0)

Copy Markdown

A custom object belonging to an organization. Custom objects store arbitrary structured data defined by a schema type and are scoped to an org, team, or user.

Summary

Types

t()

@type t() :: %ArchAstro.Types.CustomObject{
  acl: ArchAstro.Types.Acl.t() | ArchAstro.Unset.t(),
  created_at: DateTime.t() | ArchAstro.Unset.t(),
  fields: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(),
  id: String.t(),
  org: String.t() | ArchAstro.Unset.t(),
  row_key: String.t() | ArchAstro.Unset.t(),
  sandbox: String.t() | ArchAstro.Unset.t(),
  schema_type: String.t() | ArchAstro.Unset.t(),
  team: String.t() | ArchAstro.Unset.t(),
  updated_at: DateTime.t() | ArchAstro.Unset.t(),
  user: String.t() | ArchAstro.Unset.t(),
  version: integer() | 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()