Class CloseConversationRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.CloseConversationRequest.Builder
-
- All Implemented Interfaces:
CloseConversationRequest._FinalStage,CloseConversationRequest.AdminIdStage
- Enclosing class:
- CloseConversationRequest
public static final class CloseConversationRequest.Builder extends java.lang.Object implements CloseConversationRequest.AdminIdStage, CloseConversationRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloseConversationRequest._FinalStageadminId(java.lang.String adminId)The id of the admin who is performing the action.CloseConversationRequest._FinalStagebody(java.lang.String body)Optionally you can leave a message in the conversation to provide additional context to the user and other teammates.CloseConversationRequest._FinalStagebody(java.util.Optional<java.lang.String> body)Optionally you can leave a message in the conversation to provide additional context to the user and other teammates.CloseConversationRequestbuild()CloseConversationRequest.Builderfrom(CloseConversationRequest other)
-
-
-
Method Detail
-
from
public CloseConversationRequest.Builder from(CloseConversationRequest other)
- Specified by:
fromin interfaceCloseConversationRequest.AdminIdStage
-
adminId
public CloseConversationRequest._FinalStage adminId(@NotNull java.lang.String adminId)
The id of the admin who is performing the action.
The id of the admin who is performing the action.
- Specified by:
adminIdin interfaceCloseConversationRequest.AdminIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
public CloseConversationRequest._FinalStage body(java.lang.String body)
Optionally you can leave a message in the conversation to provide additional context to the user and other teammates.
- Specified by:
bodyin interfaceCloseConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
public CloseConversationRequest._FinalStage body(java.util.Optional<java.lang.String> body)
Optionally you can leave a message in the conversation to provide additional context to the user and other teammates.
- Specified by:
bodyin interfaceCloseConversationRequest._FinalStage
-
build
public CloseConversationRequest build()
- Specified by:
buildin interfaceCloseConversationRequest._FinalStage
-
-