Spatio.Model.Organization (spatio_sdk v0.0.2)

Organization summary used in list responses (GET /v1/organizations, GET /v1/organizations/{id}/workspaces). Returned with camelCase field names. NB: The single-org GET /v1/organizations/{id} returns a different shape (OrganizationDetailLegacy, PascalCase keys) today — see that schema for the wire-level reality. This is a known inconsistency the platform-service is expected to converge on the camelCase shape in a future cleanup.

Summary

Types

t()

@type t() :: %Spatio.Model.Organization{
  createdAt: DateTime.t(),
  description: String.t() | nil,
  id: String.t(),
  logoUrl: String.t() | nil,
  memberCount: integer() | nil,
  name: String.t(),
  role: String.t(),
  slug: String.t(),
  updatedAt: DateTime.t(),
  workspaceCount: integer() | nil,
  workspaces: [Spatio.Model.OrganizationWorkspacesInner.t()] | nil
}

Functions

decode(value)