Module Values.TopicPreferenceSource

The contact's preference for being opted-in to or opted-out of a topic.

Sourcetype nonrec t = {
  1. topicName : TopicName.t;
    (*

    The name of the topic.

    *)
  2. subscriptionStatus : SubscriptionStatus.t;
    (*

    The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.

    *)
}
Sourceval context_ : string
Sourceval make : topicName:TopicName.t -> subscriptionStatus:SubscriptionStatus.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of TopicName.t ]) 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