Module Values.SessionSpecificationSource

An object containing information about a specific session.

Sourcetype nonrec t = {
  1. botAliasId : BotAliasId.t option;
    (*

    The identifier of the alias of the bot that the session was held with.

    *)
  2. botVersion : NumericalBotVersion.t option;
    (*

    The version of the bot that the session was held with.

    *)
  3. localeId : LocaleId.t option;
    (*

    The locale of the bot that the session was held with.

    *)
  4. channel : AnalyticsChannel.t option;
    (*

    The channel that is integrated with the bot that the session was held with.

    *)
  5. sessionId : AnalyticsSessionId.t option;
    (*

    The identifier of the session.

    *)
  6. conversationStartTime : Timestamp.t option;
    (*

    The date and time when the conversation began. A conversation is defined as a unique combination of a sessionId and an originatingRequestId.

    *)
  7. conversationEndTime : Timestamp.t option;
    (*

    The date and time when the conversation ended. A conversation is defined as a unique combination of a sessionId and an originatingRequestId.

    *)
  8. conversationDurationSeconds : AnalyticsLongValue.t option;
    (*

    The duration of the conversation in seconds. A conversation is defined as a unique combination of a sessionId and an originatingRequestId.

    *)
  9. conversationEndState : ConversationEndState.t option;
    (*

    The final state of the conversation. A conversation is defined as a unique combination of a sessionId and an originatingRequestId.

    *)
  10. mode : AnalyticsModality.t option;
    (*

    The mode of the session. The possible values are as follows: Speech – The session was spoken. Text – The session was written. DTMF – The session used a touch-tone keypad (Dual Tone Multi-Frequency). MultiMode – The session used multiple modes.

    *)
  11. numberOfTurns : AnalyticsLongValue.t option;
    (*

    The number of turns that the session took.

    *)
  12. invokedIntentSamples : InvokedIntentSamples.t option;
    (*

    A list of objects containing the name of an intent that was invoked.

    *)
  13. originatingRequestId : AnalyticsOriginatingRequestId.t option;
    (*

    The identifier of the first request in a session.

    *)
}
Sourceval make : ?botAliasId:??? -> ?botVersion:??? -> ?localeId:??? -> ?channel:??? -> ?sessionId:??? -> ?conversationStartTime:??? -> ?conversationEndTime:??? -> ?conversationDurationSeconds:??? -> ?conversationEndState:??? -> ?mode:??? -> ?numberOfTurns:??? -> ?invokedIntentSamples:??? -> ?originatingRequestId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of Name.t ]) list ] list | `Long of AnalyticsLongValue.t | `String of BotAliasId.t | `Timestamp of Timestamp.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