ArchAstro.Types.Operations.GetApiV1Notifications.Response.Nested.DataItem (archastro v0.2.0)

Copy Markdown

DataItem API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.Types.Operations.GetApiV1Notifications.Response.Nested.DataItem{
    archived_at: DateTime.t() | ArchAstro.Unset.t(),
    created_at: DateTime.t(),
    id: String.t(),
    read_at: DateTime.t() | ArchAstro.Unset.t(),
    rendered: %{optional(String.t()) => ArchAstro.JSON.t()},
    status: String.t(),
    type: String.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()