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
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object