Class AssistantThreadsSetStatusRequest

java.lang.Object
com.slack.api.methods.request.assistant.threads.AssistantThreadsSetStatusRequest
All Implemented Interfaces:
SlackApiRequest

public class AssistantThreadsSetStatusRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/assistant.threads.setStatus
  • 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
    • getChannelId

      public String getChannelId()
      Channel ID containing the assistant thread.
    • getThreadTs

      public String getThreadTs()
      Message timestamp of the thread of where to set the status.
    • getStatus

      public String getStatus()
      Status of the specified bot user, e.g. 'is thinking...'
    • 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
    • setChannelId

      public void setChannelId(String channelId)
      Channel ID containing the assistant thread.
    • setThreadTs

      public void setThreadTs(String threadTs)
      Message timestamp of the thread of where to set the status.
    • setStatus

      public void setStatus(String status)
      Status of the specified bot user, e.g. 'is thinking...'
    • 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