Class AdminConversationsSetCustomRetentionRequest

java.lang.Object
com.slack.api.methods.request.admin.conversations.AdminConversationsSetCustomRetentionRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminConversationsSetCustomRetentionRequest
extends java.lang.Object
implements SlackApiRequest
https://api.slack.com/methods/admin.conversations.setCustomRetention
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
    • getChannelId

      public java.lang.String getChannelId()
      The channel to set the retention policy for.
    • getDurationDays

      public java.lang.Integer getDurationDays()
      The message retention duration in days to set for this channel
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token bearing required scopes.
    • setChannelId

      public void setChannelId​(java.lang.String channelId)
      The channel to set the retention policy for.
    • setDurationDays

      public void setDurationDays​(java.lang.Integer durationDays)
      The message retention duration in days to set for this channel
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object