Class FindConversationRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.conversations.requests.FindConversationRequest.Builder
-
- All Implemented Interfaces:
FindConversationRequest._FinalStage,FindConversationRequest.ConversationIdStage
- Enclosing class:
- FindConversationRequest
public static final class FindConversationRequest.Builder extends java.lang.Object implements FindConversationRequest.ConversationIdStage, FindConversationRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FindConversationRequestbuild()FindConversationRequest._FinalStageconversationId(java.lang.String conversationId)The id of the conversation to targetFindConversationRequest._FinalStagedisplayAs(java.lang.String displayAs)Set to plaintext to retrieve conversation messages in plain text.FindConversationRequest._FinalStagedisplayAs(java.util.Optional<java.lang.String> displayAs)Set to plaintext to retrieve conversation messages in plain text.FindConversationRequest.Builderfrom(FindConversationRequest other)
-
-
-
Method Detail
-
from
public FindConversationRequest.Builder from(FindConversationRequest other)
- Specified by:
fromin interfaceFindConversationRequest.ConversationIdStage
-
conversationId
public FindConversationRequest._FinalStage conversationId(@NotNull java.lang.String conversationId)
The id of the conversation to targetThe id of the conversation to target
- Specified by:
conversationIdin interfaceFindConversationRequest.ConversationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
displayAs
public FindConversationRequest._FinalStage displayAs(java.lang.String displayAs)
Set to plaintext to retrieve conversation messages in plain text.
- Specified by:
displayAsin interfaceFindConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
displayAs
public FindConversationRequest._FinalStage displayAs(java.util.Optional<java.lang.String> displayAs)
Set to plaintext to retrieve conversation messages in plain text.
- Specified by:
displayAsin interfaceFindConversationRequest._FinalStage
-
build
public FindConversationRequest build()
- Specified by:
buildin interfaceFindConversationRequest._FinalStage
-
-