Class ChatScheduledMessagesListRequest

java.lang.Object
com.slack.api.methods.request.chat.scheduled_messages.ChatScheduledMessagesListRequest
All Implemented Interfaces:
SlackApiRequest

public class ChatScheduledMessagesListRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/chat.scheduledMessages.list
  • Method Details

    • builder

    • getToken

      public String getToken()
      Description copied from interface: SlackApiRequest
      Returns a token in this request object. If the API endpoint does not require a token (e.g., api.test), this method can return null.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getChannel

      public String getChannel()
      The channel of the scheduled messages
    • getCursor

      public String getCursor()
      For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.
    • getLatest

      public String getLatest()
      A UNIX timestamp of the latest value in the time range
    • getLimit

      public Integer getLimit()
      Maximum number of original entries to return.
    • getOldest

      public String getOldest()
      A UNIX timestamp of the oldest value in the time range
    • getTeamId

      public String getTeamId()
      Required for org-wide apps.
    • setToken

      public void setToken(String token)
      Description copied from interface: SlackApiRequest
      Updates the token in this request object.

      The default implementation throws UnsupportedOperationException. All the built-in implementing classes overrides this method in a proper way.

      Specified by:
      setToken in interface SlackApiRequest
    • setChannel

      public void setChannel(String channel)
      The channel of the scheduled messages
    • setCursor

      public void setCursor(String cursor)
      For pagination purposes, this is the cursor value returned from a previous call to chat.scheduledmessages.list indicating where you want to start this call from.
    • setLatest

      public void setLatest(String latest)
      A UNIX timestamp of the latest value in the time range
    • setLimit

      public void setLimit(Integer limit)
      Maximum number of original entries to return.
    • setOldest

      public void setOldest(String oldest)
      A UNIX timestamp of the oldest value in the time range
    • setTeamId

      public void setTeamId(String teamId)
      Required for org-wide apps.
    • 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