View Source Flagsmith.Schemas.Traits.Trait (flagsmith_engine v0.1.8)
Ecto schema representing a Flagsmith trait definition and helpers to cast responses from the api.
Link to this section Summary
Link to this section Types
Specs
Specs
t() :: %Flagsmith.Schemas.Traits.Trait{ id: integer() | nil, trait_key: String.t() | nil, trait_value: Flagsmith.Schemas.Traits.Trait.Value.t() | nil }
Link to this section Functions
Specs
changeset(t(), map()) :: Ecto.Changeset.t()
Specs
Specs
from(from_types()) :: [t()] | t()