Class ConversationsKickRequest
java.lang.Object
com.slack.api.methods.request.conversations.ConversationsKickRequest
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsKickRequest extends java.lang.Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsKickRequest.ConversationsKickRequestBuilder -
Method Summary
Modifier and Type Method Description static ConversationsKickRequest.ConversationsKickRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetChannel()ID of conversation to remove user from.java.lang.StringgetToken()Authentication token.java.lang.StringgetUser()User ID to be removed.inthashCode()voidsetChannel(java.lang.String channel)ID of conversation to remove user from.voidsetToken(java.lang.String token)Authentication token.voidsetUser(java.lang.String user)User ID to be removed.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public java.lang.String getChannel()ID of conversation to remove user from. -
getUser
public java.lang.String getUser()User ID to be removed. -
setToken
public void setToken(java.lang.String token)Authentication token. Requires scope: `conversations:write` -
setChannel
public void setChannel(java.lang.String channel)ID of conversation to remove user from. -
setUser
public void setUser(java.lang.String user)User ID to be removed. -
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
-