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 java.lang.Object implements AdminWithApp.IdStage, AdminWithApp.NameStage, AdminWithApp.EmailStage, AdminWithApp.JobTitleStage, AdminWithApp.AwayModeEnabledStage, AdminWithApp.AwayModeReassignStage, AdminWithApp.HasInboxSeatStage, AdminWithApp._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminWithApp._FinalStageaddAllTeamIds(java.util.List<java.lang.Integer> teamIds)This is a list of ids of the teams that this admin is part of.AdminWithApp._FinalStageaddTeamIds(java.lang.Integer teamIds)This is a list of ids of the teams that this admin is part of.AdminWithApp._FinalStageapp(App app)App that the admin belongs to.AdminWithApp._FinalStageapp(java.util.Optional<App> app)App that the admin belongs to.AdminWithApp._FinalStageavatar(AdminWithApp.Avatar avatar)This object represents the avatar associated with the admin.AdminWithApp._FinalStageavatar(java.util.Optional<AdminWithApp.Avatar> avatar)This object represents the avatar associated with the admin.AdminWithApp.AwayModeReassignStageawayModeEnabled(boolean awayModeEnabled)Identifies if this admin is currently set in away mode.AdminWithApp.HasInboxSeatStageawayModeReassign(boolean awayModeReassign)Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.AdminWithAppbuild()AdminWithApp.JobTitleStageemail(java.lang.String email)The email of the admin.AdminWithApp._FinalStageemailVerified(java.lang.Boolean emailVerified)Identifies if this admin's email is verified.AdminWithApp._FinalStageemailVerified(java.util.Optional<java.lang.Boolean> emailVerified)Identifies if this admin's email is verified.AdminWithApp.Builderfrom(AdminWithApp other)AdminWithApp._FinalStagehasInboxSeat(boolean hasInboxSeat)Identifies if this admin has a paid inbox seat to restrict/allow features that require them.AdminWithApp.NameStageid(java.lang.String id)The id representing the admin.AdminWithApp.AwayModeEnabledStagejobTitle(java.lang.String jobTitle)The job title of the admin.AdminWithApp.EmailStagename(java.lang.String name)The name of the admin.AdminWithApp._FinalStageteamIds(java.util.List<java.lang.Integer> teamIds)This is a list of ids of the teams that this admin is part of.
-
-
-
Method Detail
-
from
public AdminWithApp.Builder from(AdminWithApp other)
- Specified by:
fromin interfaceAdminWithApp.IdStage
-
id
public AdminWithApp.NameStage id(@NotNull java.lang.String id)
The id representing the admin.The id representing the admin.
- Specified by:
idin interfaceAdminWithApp.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public AdminWithApp.EmailStage name(@NotNull java.lang.String name)
The name of the admin.The name of the admin.
- Specified by:
namein interfaceAdminWithApp.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
public AdminWithApp.JobTitleStage email(@NotNull java.lang.String email)
The email of the admin.The email of the admin.
- Specified by:
emailin interfaceAdminWithApp.EmailStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
jobTitle
public AdminWithApp.AwayModeEnabledStage jobTitle(@NotNull java.lang.String jobTitle)
The job title of the admin.The job title of the admin.
- Specified by:
jobTitlein interfaceAdminWithApp.JobTitleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
awayModeEnabled
public AdminWithApp.AwayModeReassignStage awayModeEnabled(boolean awayModeEnabled)
Identifies if this admin is currently set in away mode.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
public AdminWithApp.HasInboxSeatStage awayModeReassign(boolean awayModeReassign)
Identifies if this admin is set to automatically reassign new conversations to the apps default inbox.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
public AdminWithApp._FinalStage hasInboxSeat(boolean hasInboxSeat)
Identifies if this admin has a paid inbox seat to restrict/allow features that require them.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
public AdminWithApp._FinalStage app(App app)
App that the admin belongs to.
- Specified by:
appin interfaceAdminWithApp._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
app
public AdminWithApp._FinalStage app(java.util.Optional<App> app)
App that the admin belongs to.
- Specified by:
appin interfaceAdminWithApp._FinalStage
-
emailVerified
public AdminWithApp._FinalStage emailVerified(java.lang.Boolean 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
public AdminWithApp._FinalStage emailVerified(java.util.Optional<java.lang.Boolean> emailVerified)
Identifies if this admin's email is verified.
- Specified by:
emailVerifiedin interfaceAdminWithApp._FinalStage
-
avatar
public AdminWithApp._FinalStage avatar(AdminWithApp.Avatar 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
public AdminWithApp._FinalStage avatar(java.util.Optional<AdminWithApp.Avatar> avatar)
This object represents the avatar associated with the admin.
- Specified by:
avatarin interfaceAdminWithApp._FinalStage
-
addAllTeamIds
public AdminWithApp._FinalStage addAllTeamIds(java.util.List<java.lang.Integer> teamIds)
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
public AdminWithApp._FinalStage addTeamIds(java.lang.Integer teamIds)
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
public AdminWithApp._FinalStage teamIds(java.util.List<java.lang.Integer> teamIds)
This is a list of ids of the teams that this admin is part of.
- Specified by:
teamIdsin interfaceAdminWithApp._FinalStage
-
build
public AdminWithApp build()
- Specified by:
buildin interfaceAdminWithApp._FinalStage
-
-