Class AdminConversationsSetCustomRetentionRequest
java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSetCustomRetentionRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/admin.conversations.setCustomRetention
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic AdminConversationsSetCustomRetentionRequest.AdminConversationsSetCustomRetentionRequestBuilderbuilder()protected booleanbooleanThe channel to set the retention policy for.The message retention duration in days to set for this channelgetToken()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 channelvoidAuthentication token bearing required scopes.toString()
-
Method Details
-
builder
public static AdminConversationsSetCustomRetentionRequest.AdminConversationsSetCustomRetentionRequestBuilder builder() -
getToken
Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannelId
The channel to set the retention policy for. -
getDurationDays
The message retention duration in days to set for this channel -
setToken
Authentication token bearing required scopes.- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannelId
The channel to set the retention policy for. -
setDurationDays
The message retention duration in days to set for this channel -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-