Class SearchAllRequest.SearchAllRequestBuilder
java.lang.Object
com.slack.api.methods.request.search.SearchAllRequest.SearchAllRequestBuilder
- Enclosing class:
- SearchAllRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
highlight
(boolean highlight) Pass a value of `true` to enable query highlight markers (see below).Search query.Return matches sorted by either `score` or `timestamp`.Change sort direction to ascending (`asc`) or descending (`desc`).Required for org-wide apps.Authentication token.toString()
-
Method Details
-
token
Authentication token. Requires scope: `search:read`- Returns:
this
.
-
query
Search query. May contains booleans, etc.- Returns:
this
.
-
sort
Return matches sorted by either `score` or `timestamp`.- Returns:
this
.
-
sortDir
Change sort direction to ascending (`asc`) or descending (`desc`).- Returns:
this
.
-
highlight
Pass a value of `true` to enable query highlight markers (see below).- Returns:
this
.
-
count
- Returns:
this
.
-
page
- Returns:
this
.
-
teamId
Required for org-wide apps.- Returns:
this
.
-
build
-
toString
-