View Source Flagsmith.Schemas.Segments.Segment.Condition (flagsmith_engine v0.1.0)

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

Link to this section Summary

Link to this section Types

Specs

t() :: %Flagsmith.Schemas.Segments.Segment.Condition{
  operator: Flagsmith.Schemas.Types.Operator.t() | nil,
  property_: String.t() | nil,
  value: 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()