Module Values_0.ContactMetricInfoSource

Contains the details of a metric to be retrieved for a contact. Use this object to specify which contact level metrics you want to include in your GetContactMetrics request.

Sourcetype nonrec t = {
  1. name : ContactMetricName.t;
    (*

    The name of the metric to retrieve. Supported values are POSITION_IN_QUEUE (returns the contact's current position in the queue) and ESTIMATED_WAIT_TIME (returns the predicted wait time in seconds).

    *)
}
Sourceval context_ : string
Sourceval make : name:ContactMetricName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string ]) 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