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

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

Link to this section Summary

Link to this section Types

Specs

t() :: %Flagsmith.Schemas.Environment.Feature{
  id: integer() | 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()

Specs

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