Class ConfigureAwayAdminRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.admins.requests.ConfigureAwayAdminRequest.Builder
-
- All Implemented Interfaces:
ConfigureAwayAdminRequest._FinalStage,ConfigureAwayAdminRequest.AdminIdStage,ConfigureAwayAdminRequest.AwayModeEnabledStage,ConfigureAwayAdminRequest.AwayModeReassignStage
- Enclosing class:
- ConfigureAwayAdminRequest
public static final class ConfigureAwayAdminRequest.Builder extends java.lang.Object implements ConfigureAwayAdminRequest.AdminIdStage, ConfigureAwayAdminRequest.AwayModeEnabledStage, ConfigureAwayAdminRequest.AwayModeReassignStage, ConfigureAwayAdminRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigureAwayAdminRequest.AwayModeEnabledStageadminId(int adminId)The unique identifier of a given adminConfigureAwayAdminRequest.AwayModeReassignStageawayModeEnabled(boolean awayModeEnabled)Set to "true" to change the status of the admin to away.ConfigureAwayAdminRequest._FinalStageawayModeReassign(boolean awayModeReassign)Set to "true" to assign any new conversation replies to your default inbox.ConfigureAwayAdminRequest._FinalStageawayStatusReasonId(java.lang.Integer awayStatusReasonId)The unique identifier of the away status reasonConfigureAwayAdminRequest._FinalStageawayStatusReasonId(java.util.Optional<java.lang.Integer> awayStatusReasonId)The unique identifier of the away status reasonConfigureAwayAdminRequestbuild()ConfigureAwayAdminRequest.Builderfrom(ConfigureAwayAdminRequest other)
-
-
-
Method Detail
-
from
public ConfigureAwayAdminRequest.Builder from(ConfigureAwayAdminRequest other)
- Specified by:
fromin interfaceConfigureAwayAdminRequest.AdminIdStage
-
adminId
public ConfigureAwayAdminRequest.AwayModeEnabledStage adminId(int adminId)
The unique identifier of a given admin
The unique identifier of a given admin
- Specified by:
adminIdin interfaceConfigureAwayAdminRequest.AdminIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayModeEnabled
public ConfigureAwayAdminRequest.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 interfaceConfigureAwayAdminRequest.AwayModeEnabledStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayModeReassign
public ConfigureAwayAdminRequest._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 interfaceConfigureAwayAdminRequest.AwayModeReassignStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayStatusReasonId
public ConfigureAwayAdminRequest._FinalStage awayStatusReasonId(java.lang.Integer awayStatusReasonId)
The unique identifier of the away status reason
- Specified by:
awayStatusReasonIdin interfaceConfigureAwayAdminRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayStatusReasonId
public ConfigureAwayAdminRequest._FinalStage awayStatusReasonId(java.util.Optional<java.lang.Integer> awayStatusReasonId)
The unique identifier of the away status reason
- Specified by:
awayStatusReasonIdin interfaceConfigureAwayAdminRequest._FinalStage
-
build
public ConfigureAwayAdminRequest build()
- Specified by:
buildin interfaceConfigureAwayAdminRequest._FinalStage
-
-