Module Values.TopicSource

An interest group, theme, or label within a list. Lists can have multiple topics.

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

    The name of the topic.

    *)
  2. displayName : DisplayName.t;
    (*

    The name of the topic the contact will see.

    *)
  3. description : Description.t option;
    (*

    A description of what the topic is about, which the contact will see.

    *)
  4. defaultSubscriptionStatus : SubscriptionStatus.t;
    (*

    The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> topicName:TopicName.t -> displayName:DisplayName.t -> defaultSubscriptionStatus: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