Interface TeamUpdate
-
- All Known Implementing Classes:
ImmutableTeamUpdate
@Immutable public interface TeamUpdateRequest to create a team within a given organisation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<String>description()The description of the team.Stringname()The name of the team.Optional<String>notificationSetting()The notification setting the team has chosen.Optional<Integer>parentTeamId()The ID of a team to set as the parent team.Optional<String>privacy()The level of privacy this team should have.
-
-
-
Method Detail
-
name
@Nullable String name()
The name of the team.
-
privacy
Optional<String> privacy()
The level of privacy this team should have. For a non-nested team: secret - only visible to organization owners and members of this team. closed - visible to all members of this organization. Default: secret For a parent or child team: closed - visible to all members of this organization. Default for child team: closed Can be one of: secret, closed
-
notificationSetting
Optional<String> notificationSetting()
The notification setting the team has chosen. The options are: notifications_enabled - team members receive notifications when the team is @mentioned. notifications_disabled - no one receives notifications. Default: notifications_enabled Can be one of: notifications_enabled, notifications_disabled
-
-