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

Copy Markdown

DataItem API model.

Summary

Types

t()

@type t() ::
  %ArchAstro.Types.Operations.GetApiV1ThreadsThreadMembers.Response.Nested.DataItem{
    agent:
      ArchAstro.Types.Operations.GetApiV1ThreadsThreadMembers.Response.Nested.DataItemAgent.t()
      | ArchAstro.Unset.t(),
    joined_at: DateTime.t() | ArchAstro.Unset.t(),
    member_type: String.t() | ArchAstro.Unset.t(),
    membership_type: String.t() | ArchAstro.Unset.t(),
    role: String.t() | ArchAstro.Unset.t(),
    type: String.t(),
    user:
      ArchAstro.Types.Operations.GetApiV1ThreadsThreadMembers.Response.Nested.DataItemUser.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()