Packages
🚂 Complete Polar SDK for Elixir with 1:1 feature parity to the official JavaScript SDK. Full API coverage. Fully typed per-event modules. Modern stack: Finch HTTP/2, RustyJSON, connection pooling, automatic retries, OAuth, webhooks, telemetry, explicit client options, streaming pagination.
Current section
Files
Jump to
Current section
Files
lib/polar_express/resources/custom_fields.ex
# File generated from our OpenAPI spec
defmodule PolarExpress.Resources.CustomFields do
@moduledoc """
Custom-fields
CustomFields API operations.
"""
@typedoc """
* `created_at` - Creation timestamp of the object. Format: date-time.
* `id` - The ID of the object. Format: uuid4.
* `metadata`
* `modified_at` - Last modification timestamp of the object.
* `name` - Name of the custom field.
* `organization_id` - The ID of the organization owning the custom field. Format: uuid4.
* `properties`
* `slug` - Identifier of the custom field. It'll be used as key when storing the value.
* `type`
"""
@type t :: %__MODULE__{
created_at: String.t() | nil,
id: String.t() | nil,
metadata: map() | nil,
modified_at: term() | nil,
name: String.t() | nil,
organization_id: String.t() | nil,
properties: map() | nil,
slug: String.t() | nil,
type: String.t() | nil
}
defstruct [
:created_at,
:id,
:metadata,
:modified_at,
:name,
:organization_id,
:properties,
:slug,
:type
]
@object_name "custom-fields"
def object_name, do: @object_name
end