Class ConversationsRepliesRequest

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

public class ConversationsRepliesRequest
extends java.lang.Object
implements SlackApiRequest
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ConversationsRepliesRequest.ConversationsRepliesRequestBuilder  
  • Method Summary

    Modifier and Type Method Description
    static ConversationsRepliesRequest.ConversationsRepliesRequestBuilder builder()  
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.lang.String getChannel()
    Conversation ID to fetch thread from.
    java.lang.String getCursor()
    Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`.
    java.lang.String getLatest()
    End of time range of messages to include in results.
    java.lang.Integer getLimit()
    The maximum number of items to return.
    java.lang.String getOldest()
    Start of time range of messages to include in results.
    java.lang.String getToken()
    Authentication token.
    java.lang.String getTs()
    Unique identifier of a thread's parent message.
    int hashCode()  
    boolean isInclusive()
    Include messages with latest or oldest timestamp in results only when either timestamp is specified.
    void setChannel​(java.lang.String channel)
    Conversation ID to fetch thread from.
    void setCursor​(java.lang.String cursor)
    Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`.
    void setInclusive​(boolean inclusive)
    Include messages with latest or oldest timestamp in results only when either timestamp is specified.
    void setLatest​(java.lang.String latest)
    End of time range of messages to include in results.
    void setLimit​(java.lang.Integer limit)
    The maximum number of items to return.
    void setOldest​(java.lang.String oldest)
    Start of time range of messages to include in results.
    void setToken​(java.lang.String token)
    Authentication token.
    void setTs​(java.lang.String ts)
    Unique identifier of a thread's parent message.
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • builder

    • getToken

      public java.lang.String getToken()
      Authentication token. Requires scope: `conversations:history`
      Specified by:
      getToken in interface SlackApiRequest
    • isInclusive

      public boolean isInclusive()
      Include messages with latest or oldest timestamp in results only when either timestamp is specified.
    • getTs

      public java.lang.String getTs()
      Unique identifier of a thread's parent message.
    • getCursor

      public java.lang.String getCursor()
      Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
    • getLimit

      public java.lang.Integer getLimit()
      The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
    • getChannel

      public java.lang.String getChannel()
      Conversation ID to fetch thread from.
    • getOldest

      public java.lang.String getOldest()
      Start of time range of messages to include in results.
    • getLatest

      public java.lang.String getLatest()
      End of time range of messages to include in results.
    • setToken

      public void setToken​(java.lang.String token)
      Authentication token. Requires scope: `conversations:history`
    • setInclusive

      public void setInclusive​(boolean inclusive)
      Include messages with latest or oldest timestamp in results only when either timestamp is specified.
    • setTs

      public void setTs​(java.lang.String ts)
      Unique identifier of a thread's parent message.
    • setCursor

      public void setCursor​(java.lang.String cursor)
      Paginate through collections of data by setting the `cursor` parameter to a `next_cursor` attribute returned by a previous request's `response_metadata`. Default value fetches the first \"page\" of the collection. See [pagination](/docs/pagination) for more detail.
    • setLimit

      public void setLimit​(java.lang.Integer limit)
      The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached.
    • setChannel

      public void setChannel​(java.lang.String channel)
      Conversation ID to fetch thread from.
    • setOldest

      public void setOldest​(java.lang.String oldest)
      Start of time range of messages to include in results.
    • setLatest

      public void setLatest​(java.lang.String latest)
      End of time range of messages to include in results.
    • 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