Class AdminConversationsSetTeamsRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSetTeamsRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/admin.conversations.setTeams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe encoded channel_id to add or remove to workspaces.True if channel has to be converted to an org channelThe list of workspaces to which the channel should be shared.The workspace to which the channel belongs.getToken()Authentication token bearing required scopes.inthashCode()voidsetChannelId(String channelId) The encoded channel_id to add or remove to workspaces.voidsetOrgChannel(Boolean orgChannel) True if channel has to be converted to an org channelvoidsetTargetTeamIds(List<String> targetTeamIds) The list of workspaces to which the channel should be shared.voidThe workspace to which the channel belongs.voidAuthentication token bearing required scopes.toString()
-
Method Details
-
builder
-
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannelId
The encoded channel_id to add or remove to workspaces. -
getOrgChannel
True if channel has to be converted to an org channel -
getTargetTeamIds
The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide. -
getTeamId
The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. -
setToken
Authentication token bearing required scopes.- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannelId
The encoded channel_id to add or remove to workspaces. -
setOrgChannel
True if channel has to be converted to an org channel -
setTargetTeamIds
The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide. -
setTeamId
The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-