Class Admin.Builder
java.lang.Object
com.intercom.api.resources.admins.types.Admin.Builder
- All Implemented Interfaces:
Admin._FinalStage,Admin.AwayModeEnabledStage,Admin.AwayModeReassignStage,Admin.EmailStage,Admin.HasInboxSeatStage,Admin.IdStage,Admin.JobTitleStage,Admin.NameStage
- Enclosing class:
Admin
public static final class Admin.Builder
extends Object
implements Admin.IdStage, Admin.NameStage, Admin.EmailStage, Admin.JobTitleStage, Admin.AwayModeEnabledStage, Admin.AwayModeReassignStage, Admin.HasInboxSeatStage, Admin._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTeamIds(List<Integer> teamIds) This object represents the avatar associated with the admin.addTeamIds(Integer teamIds) This object represents the avatar associated with the admin.avatar(Admin.Avatar avatar) The avatar object associated with the adminavatar(Optional<Admin.Avatar> avatar) awayModeEnabled(boolean awayModeEnabled) Identifies if this admin is currently set in away mode.awayModeReassign(boolean awayModeReassign) Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.build()The email of the admin.hasInboxSeat(boolean hasInboxSeat) Identifies if this admin has a paid inbox seat to restrict/allow features that require them.The id representing the admin.The job title of the admin.The name of the admin.teamPriorityLevel(TeamPriorityLevel teamPriorityLevel) teamPriorityLevel(Optional<TeamPriorityLevel> teamPriorityLevel) String representing the object's type.
-
Method Details
-
from
- Specified by:
fromin interfaceAdmin.IdStage
-
id
The id representing the admin.
- Specified by:
idin interfaceAdmin.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the admin.
- Specified by:
namein interfaceAdmin.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
The email of the admin.
- Specified by:
emailin interfaceAdmin.EmailStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
jobTitle
The job title of the admin.
- Specified by:
jobTitlein interfaceAdmin.JobTitleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayModeEnabled
Identifies if this admin is currently set in away mode.
- Specified by:
awayModeEnabledin interfaceAdmin.AwayModeEnabledStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayModeReassign
Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.
- Specified by:
awayModeReassignin interfaceAdmin.AwayModeReassignStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
hasInboxSeat
Identifies if this admin has a paid inbox seat to restrict/allow features that require them.
- Specified by:
hasInboxSeatin interfaceAdmin.HasInboxSeatStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
teamPriorityLevel
- Specified by:
teamPriorityLevelin interfaceAdmin._FinalStage
-
teamPriorityLevel
- Specified by:
teamPriorityLevelin interfaceAdmin._FinalStage
-
avatar
The avatar object associated with the admin
- Specified by:
avatarin interfaceAdmin._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
avatar
- Specified by:
avatarin interfaceAdmin._FinalStage
-
addAllTeamIds
This object represents the avatar associated with the admin.
- Specified by:
addAllTeamIdsin interfaceAdmin._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addTeamIds
This object represents the avatar associated with the admin.
- Specified by:
addTeamIdsin interfaceAdmin._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
teamIds
- Specified by:
teamIdsin interfaceAdmin._FinalStage
-
type
String representing the object's type. Always has the value
admin.- Specified by:
typein interfaceAdmin._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
- Specified by:
typein interfaceAdmin._FinalStage
-
build
- Specified by:
buildin interfaceAdmin._FinalStage
-