Class ConversationsArchiveRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsArchiveRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsArchiveRequest extends Object implements SlackApiRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConversationsArchiveRequest.ConversationsArchiveRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsArchiveRequest.ConversationsArchiveRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannel()ID of conversation to archiveStringgetToken()Authentication token.inthashCode()voidsetChannel(String channel)ID of conversation to archivevoidsetToken(String token)Authentication token.StringtoString()
-
-
-
Method Detail
-
builder
public static ConversationsArchiveRequest.ConversationsArchiveRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `conversations:write`- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannel
public String getChannel()
ID of conversation to archive
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `conversations:write`
-
setChannel
public void setChannel(String channel)
ID of conversation to archive
-
canEqual
protected boolean canEqual(Object other)
-
-