View Source Flagsmith.Schemas.Features.Feature (flagsmith_engine v0.1.8)

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

Link to this section Summary

Link to this section Types

Specs

t() :: %Flagsmith.Schemas.Features.Feature{
  created_date: DateTime.t() | nil,
  default_enabled: boolean() | nil,
  description: String.t() | nil,
  id: integer() | nil,
  initial_value: String.t() | nil,
  name: String.t() | nil,
  type: String.t() | nil
}

Link to this section Functions

Link to this function

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

View Source

Specs

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