View Source Flagsmith.Schemas.Environment.FeatureState (flagsmith_engine v0.1.3)

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.FeatureState{
  django_id: integer() | nil,
  enabled: boolean() | nil,
  feature: Flagsmith.Schemas.Environment.Feature.t() | nil,
  feature_state_value: String.t() | nil,
  featurestate_uuid: binary() | nil,
  multivariate_feature_state_values: [
    Flagsmith.Schemas.Environment.MultivariateFeatureStateValue.t()
  ]
}

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()