Class ApiTestRequest

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

public class ApiTestRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/api.test
  • Method Details

    • 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
    • builder

      public static ApiTestRequest.ApiTestRequestBuilder builder()
    • getFoo

      public String getFoo()
      example property to return
    • getError

      public String getError()
      Error response to return
    • setFoo

      public void setFoo(String foo)
      example property to return
    • setError

      public void setError(String error)
      Error response to return
    • 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