Module Values.EntryLimitsConfigSource

Campaign entry limits config

Sourcetype nonrec t = {
  1. maxEntryCount : EntryLimitsConfigMaxEntryCountInteger.t;
    (*

    Maximum number of times a participant can enter the campaign. A value of 0 indicates unlimited entries. Values of 1 or greater specify the exact number of entries allowed.

    *)
  2. minEntryInterval : Iso8601Duration.t;
    (*

    Minimum time interval that must pass before a participant can enter the campaign again.

    *)
}
Sourceval context_ : string
Sourceval make : maxEntryCount:EntryLimitsConfigMaxEntryCountInteger.t -> minEntryInterval:Iso8601Duration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of EntryLimitsConfigMaxEntryCountInteger.t | `String of Iso8601Duration.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