View Source Glific.Partners.OrganizationSettings.OutOfOffice (Glific v5.1.6)

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

Link to this section Summary


Standard changeset pattern for embedded schema

Link to this section Types

@type t() :: %Glific.Partners.OrganizationSettings.OutOfOffice{
  default_flow: term(),
  default_flow_id: non_neg_integer() | nil,
  enabled: boolean() | nil,
    [Glific.Partners.OrganizationSettings.OutOfOffice.EnabledDay.t()] | [],
  end_time: :time | nil,
  flow: term(),
  flow_id: non_neg_integer() | nil,
  run_each_time: boolean(),
  start_time: :time | nil

Link to this section Functions

Link to this function

out_of_office_changeset(out_of_office, attrs)

View Source
@spec out_of_office_changeset(t(), map()) :: Ecto.Changeset.t()

Standard changeset pattern for embedded schema