Module Values.EventParametersSource

Describes the parameters of events, which are used in solution creation.

Sourcetype nonrec t = {
  1. eventType : EventType.t option;
    (*

    The name of the event type to be considered for solution creation.

    *)
  2. eventValueThreshold : EventTypeThresholdValue.t option;
    (*

    The threshold of the event type. Only events with a value greater or equal to this threshold will be considered for solution creation.

    *)
  3. weight : EventTypeWeight.t option;
    (*

    The weight of the event type. A higher weight means higher importance of the event type for the created solution.

    *)
}
Sourceval make : ?eventType:??? -> ?eventValueThreshold:??? -> ?weight:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of EventTypeThresholdValue.t | `String of EventType.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