Glific v0.3.1 Glific.Partners.OrganizationSettings.OutOfOffice View Source

The Glific abstraction to represent the organization settings of out of office

Link to this section Summary

Functions

Standard changeset pattern for embedded schema

Link to this section Types

Specs

t() :: %Glific.Partners.OrganizationSettings.OutOfOffice{
  enabled: boolean() | nil,
  enabled_days:
    [Glific.Partners.OrganizationSettings.OutOfOffice.EnabledDay.t()] | nil,
  end_time: :time | nil,
  flow: term(),
  flow_id: non_neg_integer() | nil,
  start_time: :time | nil
}

Link to this section Functions

Link to this function

out_of_office_changeset(out_of_office, attrs)

View Source

Specs

out_of_office_changeset(t(), map()) :: Ecto.Changeset.t()

Standard changeset pattern for embedded schema