Package com.unblu.sdk.core.model
Class ConversationRecipient
java.lang.Object
com.unblu.sdk.core.model.ConversationRecipient
Represents a recipient of a conversation within the Unblu suite, identifying both the ID and the type of recipient (
ConversationRecipientType.AGENT
/ConversationRecipientType.TEAM
).
For new conversations that determines who will receive the conversation request and can accept the conversation.-
Constructor Summary
ConstructorDescriptionConversationRecipient
(String id, ConversationRecipientType conversationType) Constructs a new instance of ConversationRecipient with the ID and recipient type specified. -
Method Summary
-
Constructor Details
-
ConversationRecipient
Constructs a new instance of ConversationRecipient with the ID and recipient type specified. The ID must be the recipient's unique identifier in Unblu.- Parameters:
id
- The unique identifier for the conversation recipient.conversationType
- The type of the conversation recipient.
-
-
Method Details
-
getId
- Returns:
- The ID of the conversation recipient
-
getType
- Returns:
- The type of the conversation recipient
-
setId
Sets the ID of the conversation recipient- Parameters:
id
- The ID of the conversation recipient
-
setType
Sets the type of the conversation recipient- Parameters:
type
- The type of the conversation recipient
-