Module Values.EngagementPreferencesSource

Object that defines users preferred methods of engagement.

Sourcetype nonrec t = {
  1. phone : PhonePreferenceList.t option;
    (*

    A list of phone-related contact preferences

    *)
  2. email : EmailPreferenceList.t option;
    (*

    A list of email-related contact preferences

    *)
}
Sourceval make : ?phone:??? -> ?email:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of Name.t ]) list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t