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)FindConversationRequest._FinalStageincludeTranslations(java.lang.Boolean includeTranslations)If set to true, conversation parts will be translated to the detected language of the conversation.FindConversationRequest._FinalStageincludeTranslations(java.util.Optional<java.lang.Boolean> includeTranslations)If set to true, conversation parts will be translated to the detected language of the conversation.
-
-
-
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 target
The id of the conversation to target
- Specified by:
conversationIdin interfaceFindConversationRequest.ConversationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
includeTranslations
public FindConversationRequest._FinalStage includeTranslations(java.lang.Boolean includeTranslations)
If set to true, conversation parts will be translated to the detected language of the conversation.
- Specified by:
includeTranslationsin interfaceFindConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
includeTranslations
public FindConversationRequest._FinalStage includeTranslations(java.util.Optional<java.lang.Boolean> includeTranslations)
If set to true, conversation parts will be translated to the detected language of the conversation.
- Specified by:
includeTranslationsin interfaceFindConversationRequest._FinalStage
-
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
-
-