Class AdminConversationsSetTeamsRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSetTeamsRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsSetTeamsRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.setTeams
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminConversationsSetTeamsRequest.AdminConversationsSetTeamsRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannelId()The encoded channel_id to add or remove to workspaces.java.lang.BooleangetOrgChannel()True if channel has to be converted to an org channeljava.util.List<java.lang.String>getTargetTeamIds()The list of workspaces to which the channel should be shared.java.lang.StringgetTeamId()The workspace to which the channel belongs.java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetChannelId(java.lang.String channelId)The encoded channel_id to add or remove to workspaces.voidsetOrgChannel(java.lang.Boolean orgChannel)True if channel has to be converted to an org channelvoidsetTargetTeamIds(java.util.List<java.lang.String> targetTeamIds)The list of workspaces to which the channel should be shared.voidsetTeamId(java.lang.String teamId)The workspace to which the channel belongs.voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannelId
public java.lang.String getChannelId()The encoded channel_id to add or remove to workspaces. -
getOrgChannel
public java.lang.Boolean getOrgChannel()True if channel has to be converted to an org channel -
getTargetTeamIds
public java.util.List<java.lang.String> getTargetTeamIds()The list of workspaces to which the channel should be shared. Not required if the channel is being shared orgwide. -
getTeamId
public java.lang.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(java.lang.String token)Authentication token bearing required scopes. -
setChannelId
public void setChannelId(java.lang.String channelId)The encoded channel_id to add or remove to workspaces. -
setOrgChannel
public void setOrgChannel(java.lang.Boolean orgChannel)True if channel has to be converted to an org channel -
setTargetTeamIds
public void setTargetTeamIds(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. -
setTeamId
public void setTeamId(java.lang.String teamId)The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-