Class AppsUserConnectionUpdateRequest

java.lang.Object
com.slack.api.methods.request.apps.user.connection.AppsUserConnectionUpdateRequest
All Implemented Interfaces:
SlackApiRequest

public class AppsUserConnectionUpdateRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/apps.user.connection.update
  • 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
    • getUserId

      public String getUserId()
      The user ID to update the connection status for.
    • getStatus

      public String getStatus()
      The connection status to set.
    • 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
    • setUserId

      public void setUserId(String userId)
      The user ID to update the connection status for.
    • setStatus

      public void setStatus(String status)
      The connection status to set.
    • 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