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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApiTestRequest.ApiTestRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApiTestRequest.ApiTestRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetError()Error response to returnStringgetFoo()example property to returnStringgetToken()Returns a token in this request object.inthashCode()voidsetError(String error)Error response to returnvoidsetFoo(String foo)example property to returnStringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.methods.SlackApiRequest
setToken
-
-
-
-
Method Detail
-
getToken
public String getToken()
Description copied from interface:SlackApiRequestReturns 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:
getTokenin interfaceSlackApiRequest- 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
-
canEqual
protected boolean canEqual(Object other)
-
-