Packages

Elixir SDK for the Appwrite backend-as-a-service platform. Covers Auth, Databases, TablesDB, Storage, Functions, Sites, Tokens, Teams, Messaging, GraphQL, and more.

Current section

Files

Jump to
appwrite lib appwrite types continent.ex
Raw

lib/appwrite/types/continent.ex

defmodule Appwrite.Types.Continent do
@moduledoc """
A continent record returned by `GET /v1/locale/continents`.
## Fields
- `name` (`String.t()`) — human-readable continent name (e.g. `"Europe"`).
- `code` (`String.t()`) — two-letter continent code (e.g. `"EU"`).
"""
@derive Jason.Encoder
@type t :: %__MODULE__{
name: String.t(),
code: String.t()
}
defstruct [:name, :code]
end