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 java.lang.Object implements UpdateConversationRequest.ConversationIdStage, UpdateConversationRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateConversationRequestbuild()UpdateConversationRequest._FinalStageconversationId(java.lang.String conversationId)The id of the conversation to targetUpdateConversationRequest._FinalStagecustomAttributes(java.util.Map<java.lang.String,java.lang.Object> customAttributes)UpdateConversationRequest._FinalStagecustomAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> customAttributes)UpdateConversationRequest._FinalStagedisplayAs(java.lang.String displayAs)Set to plaintext to retrieve conversation messages in plain text.UpdateConversationRequest._FinalStagedisplayAs(java.util.Optional<java.lang.String> displayAs)Set to plaintext to retrieve conversation messages in plain text.UpdateConversationRequest.Builderfrom(UpdateConversationRequest other)UpdateConversationRequest._FinalStageread(java.lang.Boolean read)Mark a conversation as read within Intercom.UpdateConversationRequest._FinalStageread(java.util.Optional<java.lang.Boolean> read)Mark a conversation as read within Intercom.
-
-
-
Method Detail
-
from
public UpdateConversationRequest.Builder from(UpdateConversationRequest other)
- Specified by:
fromin interfaceUpdateConversationRequest.ConversationIdStage
-
conversationId
public UpdateConversationRequest._FinalStage conversationId(@NotNull java.lang.String conversationId)
The id of the conversation to targetThe id of the conversation to target
- Specified by:
conversationIdin interfaceUpdateConversationRequest.ConversationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public UpdateConversationRequest._FinalStage customAttributes(java.util.Map<java.lang.String,java.lang.Object> customAttributes)
- Specified by:
customAttributesin interfaceUpdateConversationRequest._FinalStage
-
customAttributes
public UpdateConversationRequest._FinalStage customAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> customAttributes)
- Specified by:
customAttributesin interfaceUpdateConversationRequest._FinalStage
-
read
public UpdateConversationRequest._FinalStage read(java.lang.Boolean 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
public UpdateConversationRequest._FinalStage read(java.util.Optional<java.lang.Boolean> read)
Mark a conversation as read within Intercom.
- Specified by:
readin interfaceUpdateConversationRequest._FinalStage
-
displayAs
public UpdateConversationRequest._FinalStage displayAs(java.lang.String 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
public UpdateConversationRequest._FinalStage displayAs(java.util.Optional<java.lang.String> displayAs)
Set to plaintext to retrieve conversation messages in plain text.
- Specified by:
displayAsin interfaceUpdateConversationRequest._FinalStage
-
build
public UpdateConversationRequest build()
- Specified by:
buildin interfaceUpdateConversationRequest._FinalStage
-
-