Class FilesDeleteResponse
- java.lang.Object
-
- com.slack.api.methods.response.files.FilesDeleteResponse
-
- All Implemented Interfaces:
SlackApiResponse,SlackApiTextResponse
public class FilesDeleteResponse extends Object implements SlackApiTextResponse
-
-
Constructor Summary
Constructors Constructor Description FilesDeleteResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetError()Map<String,List<String>>getHttpResponseHeaders()Returns all the HTTP response headers in the API response.StringgetNeeded()StringgetProvided()StringgetWarning()inthashCode()booleanisOk()voidsetError(String error)voidsetHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)Sets the response headers.voidsetNeeded(String needed)voidsetOk(boolean ok)voidsetProvided(String provided)voidsetWarning(String warning)StringtoString()
-
-
-
Method Detail
-
isOk
public boolean isOk()
- Specified by:
isOkin interfaceSlackApiTextResponse
-
getWarning
public String getWarning()
- Specified by:
getWarningin interfaceSlackApiTextResponse
-
getError
public String getError()
- Specified by:
getErrorin interfaceSlackApiTextResponse
-
getNeeded
public String getNeeded()
- Specified by:
getNeededin interfaceSlackApiTextResponse
-
getProvided
public String getProvided()
- Specified by:
getProvidedin interfaceSlackApiTextResponse
-
getHttpResponseHeaders
public Map<String,List<String>> getHttpResponseHeaders()
Description copied from interface:SlackApiResponseReturns all the HTTP response headers in the API response. The keys are lower-cased.- Specified by:
getHttpResponseHeadersin interfaceSlackApiResponse
-
setOk
public void setOk(boolean ok)
- Specified by:
setOkin interfaceSlackApiTextResponse
-
setWarning
public void setWarning(String warning)
- Specified by:
setWarningin interfaceSlackApiTextResponse
-
setError
public void setError(String error)
- Specified by:
setErrorin interfaceSlackApiTextResponse
-
setNeeded
public void setNeeded(String needed)
- Specified by:
setNeededin interfaceSlackApiTextResponse
-
setProvided
public void setProvided(String provided)
- Specified by:
setProvidedin interfaceSlackApiTextResponse
-
setHttpResponseHeaders
public void setHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)
Description copied from interface:SlackApiResponseSets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeadersin interfaceSlackApiResponse
-
canEqual
protected boolean canEqual(Object other)
-
-