Package com.unblu.sdk.core.model
Class ConversationRecipient
- java.lang.Object
-
- com.unblu.sdk.core.model.ConversationRecipient
-
public class ConversationRecipient extends java.lang.Object
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.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONVERSATION_RECIPIENT_ID
static java.lang.String
CONVERSATION_RECIPIENT_TYPE
-
Constructor Summary
Constructors Constructor Description ConversationRecipient(java.lang.String id, ConversationRecipientType conversationType)
Constructs a new instance of ConversationRecipient with the ID and recipient type specified.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
ConversationRecipientType
getType()
void
setId(java.lang.String id)
Sets the ID of the conversation recipientvoid
setType(ConversationRecipientType type)
Sets the type of the conversation recipient
-
-
-
Field Detail
-
CONVERSATION_RECIPIENT_ID
public static final java.lang.String CONVERSATION_RECIPIENT_ID
- See Also:
- Constant Field Values
-
CONVERSATION_RECIPIENT_TYPE
public static final java.lang.String CONVERSATION_RECIPIENT_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ConversationRecipient
public ConversationRecipient(java.lang.String id, ConversationRecipientType conversationType)
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 Detail
-
getId
public java.lang.String getId()
- Returns:
- The ID of the conversation recipient
-
getType
public ConversationRecipientType getType()
- Returns:
- The type of the conversation recipient
-
setId
public void setId(java.lang.String id)
Sets the ID of the conversation recipient- Parameters:
id
- The ID of the conversation recipient
-
setType
public void setType(ConversationRecipientType type)
Sets the type of the conversation recipient- Parameters:
type
- The type of the conversation recipient
-
-