Class Team.Builder
java.lang.Object
com.intercom.api.resources.teams.types.Team.Builder
- All Implemented Interfaces:
Team._FinalStage,Team.IdStage,Team.NameStage
- Enclosing class:
Team
public static final class Team.Builder
extends Object
implements Team.IdStage, Team.NameStage, Team._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAdminIds(Integer adminIds) The list of admin IDs that are a part of the team.addAllAdminIds(List<Integer> adminIds) The list of admin IDs that are a part of the team.adminPriorityLevel(AdminPriorityLevel adminPriorityLevel) adminPriorityLevel(Optional<AdminPriorityLevel> adminPriorityLevel) build()The id of the teamThe name of the team
-
Method Details
-
from
- Specified by:
fromin interfaceTeam.IdStage
-
id
The id of the team
- Specified by:
idin interfaceTeam.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
The name of the team
- Specified by:
namein interfaceTeam.NameStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
adminPriorityLevel
- Specified by:
adminPriorityLevelin interfaceTeam._FinalStage
-
adminPriorityLevel
- Specified by:
adminPriorityLevelin interfaceTeam._FinalStage
-
addAllAdminIds
The list of admin IDs that are a part of the team.
- Specified by:
addAllAdminIdsin interfaceTeam._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAdminIds
The list of admin IDs that are a part of the team.
- Specified by:
addAdminIdsin interfaceTeam._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
adminIds
- Specified by:
adminIdsin interfaceTeam._FinalStage
-
build
- Specified by:
buildin interfaceTeam._FinalStage
-