View Source Glific.Profiles.Profile (Glific v5.1.6)
The schema for profile
Link to this section Summary
Functions
Changeset for the profile. It takes profile struct and attrs to cast and put validation on it.
Link to this section Types
@type t() :: %Glific.Profiles.Profile{ __meta__: Ecto.Schema.Metadata.t(), contact: Glific.Contacts.Contact.t() | Ecto.Association.NotLoaded.t() | nil, contact_id: non_neg_integer() | nil, fields: map() | nil, id: non_neg_integer() | nil, inserted_at: :utc_datetime | nil, language: Glific.Settings.Language.t() | Ecto.Association.NotLoaded.t() | nil, language_id: non_neg_integer() | nil, name: String.t() | nil, organization: Glific.Partners.Organization.t() | Ecto.Association.NotLoaded.t() | nil, organization_id: non_neg_integer() | nil, type: String.t() | nil, updated_at: :utc_datetime | nil }
Link to this section Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Changeset for the profile. It takes profile struct and attrs to cast and put validation on it.