Interface ParticipantMetrics.Builder

  • Method Details

    • participantId

      ParticipantMetrics.Builder participantId(String participantId)

      The Participant's ID.

      Parameters:
      participantId - The Participant's ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • participantType

      ParticipantMetrics.Builder participantType(String participantType)

      Information about the conversation participant. Following are the participant types: [Agent, Customer, Supervisor].

      Parameters:
      participantType - Information about the conversation participant. Following are the participant types: [Agent, Customer, Supervisor].
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • participantType

      ParticipantMetrics.Builder participantType(ParticipantType participantType)

      Information about the conversation participant. Following are the participant types: [Agent, Customer, Supervisor].

      Parameters:
      participantType - Information about the conversation participant. Following are the participant types: [Agent, Customer, Supervisor].
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • conversationAbandon

      ParticipantMetrics.Builder conversationAbandon(Boolean conversationAbandon)

      A boolean flag indicating whether the chat conversation was abandoned by a Participant.

      Parameters:
      conversationAbandon - A boolean flag indicating whether the chat conversation was abandoned by a Participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messagesSent

      ParticipantMetrics.Builder messagesSent(Integer messagesSent)

      Number of chat messages sent by Participant.

      Parameters:
      messagesSent - Number of chat messages sent by Participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numResponses

      ParticipantMetrics.Builder numResponses(Integer numResponses)

      Number of chat messages sent by Participant.

      Parameters:
      numResponses - Number of chat messages sent by Participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messageLengthInChars

      ParticipantMetrics.Builder messageLengthInChars(Integer messageLengthInChars)

      Number of chat characters sent by Participant.

      Parameters:
      messageLengthInChars - Number of chat characters sent by Participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalResponseTimeInMillis

      ParticipantMetrics.Builder totalResponseTimeInMillis(Long totalResponseTimeInMillis)

      Total chat response time by Participant.

      Parameters:
      totalResponseTimeInMillis - Total chat response time by Participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResponseTimeInMillis

      ParticipantMetrics.Builder maxResponseTimeInMillis(Long maxResponseTimeInMillis)

      Maximum chat response time by Participant.

      Parameters:
      maxResponseTimeInMillis - Maximum chat response time by Participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastMessageTimestamp

      ParticipantMetrics.Builder lastMessageTimestamp(Instant lastMessageTimestamp)

      Timestamp of last chat message by Participant.

      Parameters:
      lastMessageTimestamp - Timestamp of last chat message by Participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.