View Source Flagsmith.Schemas.Environment.Project (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.Project{
  hide_disabled_flags: boolean() | nil,
  id: integer() | nil,
  name: String.t() | nil,
  organisation: Flagsmith.Schemas.Environment.Organisation.t() | nil,
  segments: [Flagsmith.Schemas.Segments.Segment.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()