Class ConversationsArchiveRequest
- java.lang.Object
-
- com.slack.api.methods.request.conversations.ConversationsArchiveRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class ConversationsArchiveRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/conversations.archive
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConversationsArchiveRequest.ConversationsArchiveRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationsArchiveRequest.ConversationsArchiveRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getChannel()
ID of conversation to archiveString
getToken()
Authentication token.int
hashCode()
void
setChannel(String channel)
ID of conversation to archivevoid
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static ConversationsArchiveRequest.ConversationsArchiveRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `conversations:write`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getChannel
public String getChannel()
ID of conversation to archive
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `conversations:write`- Specified by:
setToken
in interfaceSlackApiRequest
-
setChannel
public void setChannel(String channel)
ID of conversation to archive
-
canEqual
protected boolean canEqual(Object other)
-
-