Class AssignConversationRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.AssignConversationRequest.Builder
-
- All Implemented Interfaces:
AssignConversationRequest._FinalStage,AssignConversationRequest.AdminIdStage,AssignConversationRequest.AssigneeIdStage,AssignConversationRequest.TypeStage
- Enclosing class:
- AssignConversationRequest
public static final class AssignConversationRequest.Builder extends java.lang.Object implements AssignConversationRequest.TypeStage, AssignConversationRequest.AdminIdStage, AssignConversationRequest.AssigneeIdStage, AssignConversationRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssignConversationRequest.AssigneeIdStageadminId(java.lang.String adminId)The id of the admin who is performing the action.AssignConversationRequest._FinalStageassigneeId(java.lang.String assigneeId)Theidof theadminorteamwhich will be assigned the conversation.AssignConversationRequest._FinalStagebody(java.lang.String body)Optionally you can send a response in the conversation when it is assigned.AssignConversationRequest._FinalStagebody(java.util.Optional<java.lang.String> body)Optionally you can send a response in the conversation when it is assigned.AssignConversationRequestbuild()AssignConversationRequest.Builderfrom(AssignConversationRequest other)AssignConversationRequest.AdminIdStagetype(AssignConversationRequest.Type type)
-
-
-
Method Detail
-
from
public AssignConversationRequest.Builder from(AssignConversationRequest other)
- Specified by:
fromin interfaceAssignConversationRequest.TypeStage
-
type
public AssignConversationRequest.AdminIdStage type(@NotNull AssignConversationRequest.Type type)
- Specified by:
typein interfaceAssignConversationRequest.TypeStage
-
adminId
public AssignConversationRequest.AssigneeIdStage 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 interfaceAssignConversationRequest.AdminIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
assigneeId
public AssignConversationRequest._FinalStage assigneeId(@NotNull java.lang.String assigneeId)
The
idof theadminorteamwhich will be assigned the conversation. A conversation can be assigned both an admin and a team.\nSet0if you want this assign to no admin or team (ie. Unassigned).The
idof theadminorteamwhich will be assigned the conversation. A conversation can be assigned both an admin and a team.\nSet0if you want this assign to no admin or team (ie. Unassigned).- Specified by:
assigneeIdin interfaceAssignConversationRequest.AssigneeIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
public AssignConversationRequest._FinalStage body(java.lang.String body)
Optionally you can send a response in the conversation when it is assigned.
- Specified by:
bodyin interfaceAssignConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
public AssignConversationRequest._FinalStage body(java.util.Optional<java.lang.String> body)
Optionally you can send a response in the conversation when it is assigned.
- Specified by:
bodyin interfaceAssignConversationRequest._FinalStage
-
build
public AssignConversationRequest build()
- Specified by:
buildin interfaceAssignConversationRequest._FinalStage
-
-