Module Values.WindowSource

The object that defines the time length of an exclusion window.

Sourcetype nonrec t = {
  1. durationUnit : DurationUnit.t;
    (*

    The unit of time for the exclusion window duration. Valid values: MINUTE, HOUR, DAY, MONTH.

    *)
  2. duration : ExclusionDuration.t;
    (*

    The number of time units for the exclusion window length.

    *)
}
Sourceval context_ : string
Sourceval make : durationUnit:DurationUnit.t -> duration:ExclusionDuration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of ExclusionDuration.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