Class AdminConversationsDisconnectSharedRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsDisconnectSharedRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsDisconnectSharedRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.disconnectShared
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminConversationsDisconnectSharedRequest.AdminConversationsDisconnectSharedRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminConversationsDisconnectSharedRequest.AdminConversationsDisconnectSharedRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannelId()The channel to be disconnected from some workspaces.java.util.List<java.lang.String>getLeavingTeamIds()The team to be removed from the channel.java.lang.StringgetToken()Authentication token bearing required scopes.inthashCode()voidsetChannelId(java.lang.String channelId)The channel to be disconnected from some workspaces.voidsetLeavingTeamIds(java.util.List<java.lang.String> leavingTeamIds)The team to be removed from the channel.voidsetToken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()
-
Method Details
-
builder
public static AdminConversationsDisconnectSharedRequest.AdminConversationsDisconnectSharedRequestBuilder builder() -
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannelId
public java.lang.String getChannelId()The channel to be disconnected from some workspaces. -
getLeavingTeamIds
public java.util.List<java.lang.String> getLeavingTeamIds()The team to be removed from the channel. Currently only a single team id can be specified. -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setChannelId
public void setChannelId(java.lang.String channelId)The channel to be disconnected from some workspaces. -
setLeavingTeamIds
public void setLeavingTeamIds(java.util.List<java.lang.String> leavingTeamIds)The team to be removed from the channel. Currently only a single team id can be specified. -
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
-