Class SetAwayAdminRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.admins.requests.SetAwayAdminRequest.Builder
-
- All Implemented Interfaces:
SetAwayAdminRequest._FinalStage,SetAwayAdminRequest.AwayModeEnabledStage,SetAwayAdminRequest.AwayModeReassignStage,SetAwayAdminRequest.IdStage
- Enclosing class:
- SetAwayAdminRequest
public static final class SetAwayAdminRequest.Builder extends java.lang.Object implements SetAwayAdminRequest.IdStage, SetAwayAdminRequest.AwayModeEnabledStage, SetAwayAdminRequest.AwayModeReassignStage, SetAwayAdminRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetAwayAdminRequest.AwayModeReassignStageawayModeEnabled(boolean awayModeEnabled)Set to "true" to change the status of the admin to away.SetAwayAdminRequest._FinalStageawayModeReassign(boolean awayModeReassign)Set to "true" to assign any new conversation replies to your default inbox.SetAwayAdminRequest._FinalStageawayStatusReasonId(java.lang.Integer awayStatusReasonId)The unique identifier of the away status reasonSetAwayAdminRequest._FinalStageawayStatusReasonId(java.util.Optional<java.lang.Integer> awayStatusReasonId)The unique identifier of the away status reasonSetAwayAdminRequestbuild()SetAwayAdminRequest.Builderfrom(SetAwayAdminRequest other)SetAwayAdminRequest.AwayModeEnabledStageid(int id)The unique identifier of a given admin
-
-
-
Method Detail
-
from
public SetAwayAdminRequest.Builder from(SetAwayAdminRequest other)
- Specified by:
fromin interfaceSetAwayAdminRequest.IdStage
-
id
public SetAwayAdminRequest.AwayModeEnabledStage id(int id)
The unique identifier of a given admin
The unique identifier of a given admin
- Specified by:
idin interfaceSetAwayAdminRequest.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayModeEnabled
public SetAwayAdminRequest.AwayModeReassignStage awayModeEnabled(boolean awayModeEnabled)
Set to "true" to change the status of the admin to away.
Set to "true" to change the status of the admin to away.
- Specified by:
awayModeEnabledin interfaceSetAwayAdminRequest.AwayModeEnabledStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayModeReassign
public SetAwayAdminRequest._FinalStage awayModeReassign(boolean awayModeReassign)
Set to "true" to assign any new conversation replies to your default inbox.
Set to "true" to assign any new conversation replies to your default inbox.
- Specified by:
awayModeReassignin interfaceSetAwayAdminRequest.AwayModeReassignStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayStatusReasonId
public SetAwayAdminRequest._FinalStage awayStatusReasonId(java.lang.Integer awayStatusReasonId)
The unique identifier of the away status reason
- Specified by:
awayStatusReasonIdin interfaceSetAwayAdminRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayStatusReasonId
public SetAwayAdminRequest._FinalStage awayStatusReasonId(java.util.Optional<java.lang.Integer> awayStatusReasonId)
The unique identifier of the away status reason
- Specified by:
awayStatusReasonIdin interfaceSetAwayAdminRequest._FinalStage
-
build
public SetAwayAdminRequest build()
- Specified by:
buildin interfaceSetAwayAdminRequest._FinalStage
-
-