Package com.intercom.api.types
Class AdminWithApp.Builder
java.lang.Object
com.intercom.api.types.AdminWithApp.Builder
- All Implemented Interfaces:
AdminWithApp._FinalStage,AdminWithApp.AwayModeEnabledStage,AdminWithApp.AwayModeReassignStage,AdminWithApp.EmailStage,AdminWithApp.HasInboxSeatStage,AdminWithApp.IdStage,AdminWithApp.JobTitleStage,AdminWithApp.NameStage
- Enclosing class:
AdminWithApp
public static final class AdminWithApp.Builder
extends Object
implements AdminWithApp.IdStage, AdminWithApp.NameStage, AdminWithApp.EmailStage, AdminWithApp.JobTitleStage, AdminWithApp.AwayModeEnabledStage, AdminWithApp.AwayModeReassignStage, AdminWithApp.HasInboxSeatStage, AdminWithApp._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTeamIds(List<Integer> teamIds) This is a list of ids of the teams that this admin is part of.addTeamIds(Integer teamIds) This is a list of ids of the teams that this admin is part of.App that the admin belongs to.avatar(AdminWithApp.Avatar avatar) This object represents the avatar associated with the admin.avatar(Optional<AdminWithApp.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.emailVerified(Boolean emailVerified) Identifies if this admin's email is verified.emailVerified(Optional<Boolean> emailVerified) from(AdminWithApp other) 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.
-
Method Details
-
from
- Specified by:
fromin interfaceAdminWithApp.IdStage
-
id
The id representing the admin.
- Specified by:
idin interfaceAdminWithApp.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the admin.
- Specified by:
namein interfaceAdminWithApp.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
The email of the admin.
- Specified by:
emailin interfaceAdminWithApp.EmailStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
jobTitle
The job title of the admin.
- Specified by:
jobTitlein interfaceAdminWithApp.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 interfaceAdminWithApp.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 interfaceAdminWithApp.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 interfaceAdminWithApp.HasInboxSeatStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
app
App that the admin belongs to.
- Specified by:
appin interfaceAdminWithApp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
app
- Specified by:
appin interfaceAdminWithApp._FinalStage
-
emailVerified
Identifies if this admin's email is verified.
- Specified by:
emailVerifiedin interfaceAdminWithApp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
emailVerified
- Specified by:
emailVerifiedin interfaceAdminWithApp._FinalStage
-
avatar
This object represents the avatar associated with the admin.
- Specified by:
avatarin interfaceAdminWithApp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
avatar
- Specified by:
avatarin interfaceAdminWithApp._FinalStage
-
addAllTeamIds
This is a list of ids of the teams that this admin is part of.
- Specified by:
addAllTeamIdsin interfaceAdminWithApp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addTeamIds
This is a list of ids of the teams that this admin is part of.
- Specified by:
addTeamIdsin interfaceAdminWithApp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
teamIds
- Specified by:
teamIdsin interfaceAdminWithApp._FinalStage
-
build
- Specified by:
buildin interfaceAdminWithApp._FinalStage
-