Glific v0.3.1 Glific.Tags.Tag View Source

The minimal wrapper for the base Tag structure

Link to this section Summary

Functions

Standard changeset pattern we use for all data types

Link to this section Types

Specs

t() :: %Glific.Tags.Tag{
  __meta__: Ecto.Schema.Metadata.t(),
  ancestors: list() | [],
  child: term(),
  color_code: String.t() | nil,
  contacts: term(),
  description: String.t() | nil,
  id: non_neg_integer() | nil,
  inserted_at: :utc_datetime | nil,
  is_active: boolean(),
  is_reserved: boolean(),
  is_value: boolean(),
  keywords: list(),
  label: String.t() | nil,
  language: Glific.Settings.Language.t() | Ecto.Association.NotLoaded.t() | nil,
  language_id: non_neg_integer() | nil,
  messages: term(),
  organization:
    Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil,
  organization_id: non_neg_integer() | nil,
  parent: t() | Ecto.Association.NotLoaded.t() | nil,
  parent_id: non_neg_integer() | nil,
  shortcode: String.t() | nil,
  updated_at: :utc_datetime | nil
}

Link to this section Functions

Specs

changeset(t(), map()) :: Ecto.Changeset.t()

Standard changeset pattern we use for all data types