Class FilesCommentsAddResponse
- java.lang.Object
-
- com.slack.api.methods.response.files.comments.FilesCommentsAddResponse
-
- All Implemented Interfaces:
SlackApiResponse,SlackApiTextResponse
public class FilesCommentsAddResponse extends Object implements SlackApiTextResponse
-
-
Constructor Summary
Constructors Constructor Description FilesCommentsAddResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)FileCommentgetComment()StringgetError()Map<String,List<String>>getHttpResponseHeaders()Returns all the HTTP response headers in the API response.StringgetNeeded()StringgetProvided()StringgetReqMethod()StringgetWarning()inthashCode()booleanisOk()voidsetComment(FileComment comment)voidsetError(String error)voidsetHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)Sets the response headers.voidsetNeeded(String needed)voidsetOk(boolean ok)voidsetProvided(String provided)voidsetReqMethod(String reqMethod)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
-
getReqMethod
public String getReqMethod()
-
getComment
public FileComment getComment()
-
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
-
setReqMethod
public void setReqMethod(String reqMethod)
-
setComment
public void setComment(FileComment comment)
-
canEqual
protected boolean canEqual(Object other)
-
-