ArchAstro. Types. TeamMembership
(archastro v0.2.0)
Copy Markdown
A record representing a user's or agent's membership in a team, including their resolved identity details and role.
Summary
Types
@type t() :: %ArchAstro.Types.TeamMembership{ agent: ArchAstro.Types.Agent.t() | ArchAstro.Unset.t(), created_at: DateTime.t() | ArchAstro.Unset.t(), id: String.t(), joined_at: DateTime.t() | ArchAstro.Unset.t(), metadata: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(), name: String.t() | ArchAstro.Unset.t(), profile_picture: ArchAstro.Types.ImageSource.t() | ArchAstro.Unset.t(), role: String.t() | ArchAstro.Unset.t(), team: %{optional(String.t()) => ArchAstro.JSON.t()} | ArchAstro.Unset.t(), type: String.t() | ArchAstro.Unset.t(), updated_at: DateTime.t() | ArchAstro.Unset.t(), user: ArchAstro.Types.User.t() | ArchAstro.Unset.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()