View Source Flagsmith.Schemas.Environment.Organisation (flagsmith_engine v0.1.5)

Ecto schema representing a Flagsmith organisation definition and helpers to cast responses from the api.

Link to this section Summary

Link to this section Types

Specs

t() :: %Flagsmith.Schemas.Environment.Organisation{
  feature_analytics: boolean() | nil,
  id: integer() | nil,
  name: String.t() | nil,
  persist_trait_data: boolean() | nil,
  stop_serving_flags: boolean() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source

Specs

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

Specs

from_response(element :: map() | [map()]) :: t() | any()