Class AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
- Enclosing class:
- AdminConversationsSetTeamsRequest
public static class AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description AdminConversationsSetTeamsRequestbuild()AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilderchannelId(java.lang.String channelId)The encoded channel_id to add or remove to workspaces.AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilderorgChannel(java.lang.Boolean orgChannel)True if channel has to be converted to an org channelAdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuildertargetTeamIds(java.util.List<java.lang.String> targetTeamIds)The list of workspaces to which the channel should be shared.AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilderteamId(java.lang.String teamId)The workspace to which the channel belongs.AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuildertoken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
token
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder token(java.lang.String token)Authentication token bearing required scopes.- Returns:
this.
-
channelId
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder channelId(java.lang.String channelId)The encoded channel_id to add or remove to workspaces.- Returns:
this.
-
orgChannel
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder orgChannel(java.lang.Boolean orgChannel)True if channel has to be converted to an org channel- Returns:
this.
-
targetTeamIds
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder targetTeamIds(java.util.List<java.lang.String> targetTeamIds)The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide.- Returns:
this.
-
teamId
public AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder teamId(java.lang.String teamId)The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.- Returns:
this.
-
build
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-