public static class InteractionSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InteractionSummary |
build() |
InteractionSummary.Builder |
copy(InteractionSummary model) |
InteractionSummary.Builder |
id(String id)
The uniqueId of the message.
|
InteractionSummary.Builder |
message(String message)
contains the information exchanged between operator and customer.
|
InteractionSummary.Builder |
timeOfConversation(Date timeOfConversation)
Time when the conversation happened in RFC
3339timestamp format.
|
InteractionSummary.Builder |
userId(String userId)
customer or operator id who is part of this conversation.
|
InteractionSummary.Builder |
userName(String userName)
customer or operator Name who is part of this conversation.
|
InteractionSummary.Builder |
userType(String userType)
Whether the userConversation is an operator or customer.
|
public InteractionSummary.Builder id(String id)
The uniqueId of the message.
id
- the value to setpublic InteractionSummary.Builder userId(String userId)
customer or operator id who is part of this conversation.
userId
- the value to setpublic InteractionSummary.Builder userName(String userName)
customer or operator Name who is part of this conversation.
userName
- the value to setpublic InteractionSummary.Builder message(String message)
contains the information exchanged between operator and customer.
message
- the value to setpublic InteractionSummary.Builder userType(String userType)
Whether the userConversation is an operator or customer.
userType
- the value to setpublic InteractionSummary.Builder timeOfConversation(Date timeOfConversation)
Time when the conversation happened in RFC 3339timestamp format. Example: ‘2020-05-22T21:10:29.600Z’
timeOfConversation
- the value to setpublic InteractionSummary build()
public InteractionSummary.Builder copy(InteractionSummary model)
Copyright © 2016–2024. All rights reserved.