Class 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 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
      • 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