Class AdminConversationsSetCustomRetentionRequest
- java.lang.Object
-
- com.slack.api.methods.request.admin.conversations.AdminConversationsSetCustomRetentionRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class AdminConversationsSetCustomRetentionRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.setCustomRetention
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminConversationsSetCustomRetentionRequest.AdminConversationsSetCustomRetentionRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminConversationsSetCustomRetentionRequest.AdminConversationsSetCustomRetentionRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetChannelId()The channel to set the retention policy for.IntegergetDurationDays()The message retention duration in days to set for this channelStringgetToken()Authentication token bearing required scopes.inthashCode()voidsetChannelId(String channelId)The channel to set the retention policy for.voidsetDurationDays(Integer durationDays)The message retention duration in days to set for this channelvoidsetToken(String token)Authentication token bearing required scopes.StringtoString()
-
-
-
Method Detail
-
builder
public static AdminConversationsSetCustomRetentionRequest.AdminConversationsSetCustomRetentionRequestBuilder builder()
-
getToken
public String getToken()
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getChannelId
public String getChannelId()
The channel to set the retention policy for.
-
getDurationDays
public Integer getDurationDays()
The message retention duration in days to set for this channel
-
setToken
public void setToken(String token)
Authentication token bearing required scopes.
-
setChannelId
public void setChannelId(String channelId)
The channel to set the retention policy for.
-
setDurationDays
public void setDurationDays(Integer durationDays)
The message retention duration in days to set for this channel
-
canEqual
protected boolean canEqual(Object other)
-
-