Class SearchAllResponse
java.lang.Object
com.slack.api.methods.response.search.SearchAllResponse
- All Implemented Interfaces:
SlackApiResponse
,SlackApiTextResponse
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getError()
getFiles()
Returns all the HTTP response headers in the API response.getPosts()
getQuery()
int
hashCode()
boolean
isOk()
void
void
setFiles
(SearchResult files) void
setHttpResponseHeaders
(Map<String, List<String>> httpResponseHeaders) Sets the response headers.void
setMessages
(SearchResult messages) void
void
setOk
(boolean ok) void
setPosts
(SearchAllResponse.Posts posts) void
setProvided
(String provided) void
void
setWarning
(String warning) toString()
-
Constructor Details
-
SearchAllResponse
public SearchAllResponse()
-
-
Method Details
-
isOk
public boolean isOk()- Specified by:
isOk
in interfaceSlackApiTextResponse
-
getWarning
- Specified by:
getWarning
in interfaceSlackApiTextResponse
-
getError
- Specified by:
getError
in interfaceSlackApiTextResponse
-
getNeeded
- Specified by:
getNeeded
in interfaceSlackApiTextResponse
-
getProvided
- Specified by:
getProvided
in interfaceSlackApiTextResponse
-
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
-
getQuery
-
getMessages
-
getFiles
-
getPosts
-
setOk
public void setOk(boolean ok) - Specified by:
setOk
in interfaceSlackApiTextResponse
-
setWarning
- Specified by:
setWarning
in interfaceSlackApiTextResponse
-
setError
- Specified by:
setError
in interfaceSlackApiTextResponse
-
setNeeded
- Specified by:
setNeeded
in interfaceSlackApiTextResponse
-
setProvided
- Specified by:
setProvided
in interfaceSlackApiTextResponse
-
setHttpResponseHeaders
Description copied from interface:SlackApiResponse
Sets the response headers. Pass a Map object with lower-cased keys.- Specified by:
setHttpResponseHeaders
in interfaceSlackApiResponse
-
setQuery
-
setMessages
-
setFiles
-
setPosts
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-