Class FilesInfoResponse
- java.lang.Object
-
- com.slack.api.methods.response.files.FilesInfoResponse
-
- All Implemented Interfaces:
SlackApiResponse
,SlackApiTextResponse
public class FilesInfoResponse extends Object implements SlackApiTextResponse
-
-
Constructor Summary
Constructors Constructor Description FilesInfoResponse()
-
Method Summary
-
-
-
Method Detail
-
isOk
public boolean isOk()
- Specified by:
isOk
in interfaceSlackApiTextResponse
-
getWarning
public String getWarning()
- Specified by:
getWarning
in interfaceSlackApiTextResponse
-
getError
public String getError()
- Specified by:
getError
in interfaceSlackApiTextResponse
-
getNeeded
public String getNeeded()
- Specified by:
getNeeded
in interfaceSlackApiTextResponse
-
getProvided
public String getProvided()
- Specified by:
getProvided
in interfaceSlackApiTextResponse
-
getHttpResponseHeaders
public Map<String,List<String>> getHttpResponseHeaders()
Description copied from interface:SlackApiResponse
Returns all the HTTP response headers in the API response. The keys are lower-cased.- Specified by:
getHttpResponseHeaders
in interfaceSlackApiResponse
-
getFile
public File getFile()
-
getContent
public String getContent()
-
getContentHighlightHtml
public String getContentHighlightHtml()
-
getContentHighlightCss
public String getContentHighlightCss()
-
isTruncated
public boolean isTruncated()
-
getComments
@Deprecated public List<FileComment> getComments()
Deprecated.
-
getPaging
@Deprecated public Paging getPaging()
Deprecated.
-
setOk
public void setOk(boolean ok)
- Specified by:
setOk
in interfaceSlackApiTextResponse
-
setWarning
public void setWarning(String warning)
- Specified by:
setWarning
in interfaceSlackApiTextResponse
-
setError
public void setError(String error)
- Specified by:
setError
in interfaceSlackApiTextResponse
-
setNeeded
public void setNeeded(String needed)
- Specified by:
setNeeded
in interfaceSlackApiTextResponse
-
setProvided
public void setProvided(String provided)
- Specified by:
setProvided
in interfaceSlackApiTextResponse
-
setHttpResponseHeaders
public void setHttpResponseHeaders(Map<String,List<String>> httpResponseHeaders)
Description copied from interface:SlackApiResponse
Sets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeaders
in interfaceSlackApiResponse
-
setFile
public void setFile(File file)
-
setContent
public void setContent(String content)
-
setContentHighlightHtml
public void setContentHighlightHtml(String contentHighlightHtml)
-
setContentHighlightCss
public void setContentHighlightCss(String contentHighlightCss)
-
setTruncated
public void setTruncated(boolean truncated)
-
setComments
@Deprecated public void setComments(List<FileComment> comments)
Deprecated.
-
setPaging
@Deprecated public void setPaging(Paging paging)
Deprecated.
-
canEqual
protected boolean canEqual(Object other)
-
-