Class UpdateConversationRequest.Builder
java.lang.Object
com.intercom.api.resources.conversations.requests.UpdateConversationRequest.Builder
- All Implemented Interfaces:
UpdateConversationRequest._FinalStage,UpdateConversationRequest.ConversationIdStage
- Enclosing class:
UpdateConversationRequest
public static final class UpdateConversationRequest.Builder
extends Object
implements UpdateConversationRequest.ConversationIdStage, UpdateConversationRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()conversationId(String conversationId) The id of the conversation to targetcustomAttributes(Map<String, Object> customAttributes) customAttributes(Optional<Map<String, Object>> customAttributes) Set to plaintext to retrieve conversation messages in plain text.from(UpdateConversationRequest other) Mark a conversation as read within Intercom.
-
Method Details
-
from
- Specified by:
fromin interfaceUpdateConversationRequest.ConversationIdStage
-
conversationId
The id of the conversation to target
- Specified by:
conversationIdin interfaceUpdateConversationRequest.ConversationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
- Specified by:
customAttributesin interfaceUpdateConversationRequest._FinalStage
-
customAttributes
public UpdateConversationRequest._FinalStage customAttributes(Optional<Map<String, Object>> customAttributes) - Specified by:
customAttributesin interfaceUpdateConversationRequest._FinalStage
-
read
Mark a conversation as read within Intercom.
- Specified by:
readin interfaceUpdateConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
read
- Specified by:
readin interfaceUpdateConversationRequest._FinalStage
-
displayAs
Set to plaintext to retrieve conversation messages in plain text.
- Specified by:
displayAsin interfaceUpdateConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
displayAs
- Specified by:
displayAsin interfaceUpdateConversationRequest._FinalStage
-
build
- Specified by:
buildin interfaceUpdateConversationRequest._FinalStage
-