Class AdminConversationsSetTeamsRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.conversations.AdminConversationsSetTeamsRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsSetTeamsRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.setTeams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannelId()
The encoded channel_id to add or remove to workspaces.Boolean
getOrgChannel()
True if channel has to be converted to an org channelList<String>
getTargetTeamIds()
The list of workspaces to which the channel should be shared.String
getTeamId()
The workspace to which the channel belongs.String
getToken()
Authentication token bearing required scopes.int
hashCode()
void
setChannelId(String channelId)
The encoded channel_id to add or remove to workspaces.void
setOrgChannel(Boolean orgChannel)
True if channel has to be converted to an org channelvoid
setTargetTeamIds(List<String> targetTeamIds)
The list of workspaces to which the channel should be shared.void
setTeamId(String teamId)
The workspace to which the channel belongs.void
setToken(String token)
Authentication token bearing required scopes.String
toString()
-
-
-
Method Detail
-
builder
public static AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getToken
in interfaceSlackApiRequest
-
getChannelId
public String getChannelId()
The encoded channel_id to add or remove to workspaces.
-
getOrgChannel
public Boolean getOrgChannel()
True if channel has to be converted to an org channel
-
getTargetTeamIds
public List<String> getTargetTeamIds()
The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide.
-
getTeamId
public String getTeamId()
The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setChannelId
public void setChannelId(String channelId)
The encoded channel_id to add or remove to workspaces.
-
setOrgChannel
public void setOrgChannel(Boolean orgChannel)
True if channel has to be converted to an org channel
-
setTargetTeamIds
public void setTargetTeamIds(List<String> targetTeamIds)
The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide.
-
setTeamId
public void setTeamId(String teamId)
The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel.
-
canEqual
protected boolean canEqual(Object other)
-
-