Package com.slack.api.audit.request
Class LogsRequest.LogsRequestBuilder
java.lang.Object
com.slack.api.audit.request.LogsRequest.LogsRequestBuilder
- Enclosing class:
- LogsRequest
public static class LogsRequest.LogsRequestBuilder extends Object
-
Method Summary
Modifier and Type Method Description LogsRequest.LogsRequestBuilder
action(String action)
Name of the action.LogsRequest.LogsRequestBuilder
actor(String actor)
User ID who initiated the action.LogsRequest
build()
LogsRequest.LogsRequestBuilder
cursor(String cursor)
Used for pagination.LogsRequest.LogsRequestBuilder
entity(String entity)
ID of the target entity of the action (such as a channel, workspace, organization, file).LogsRequest.LogsRequestBuilder
latest(Integer latest)
Unix timestamp of the most recent audit event to include (inclusive).LogsRequest.LogsRequestBuilder
limit(Integer limit)
Number of results to optimistically return, maximum 9999.LogsRequest.LogsRequestBuilder
oldest(Integer oldest)
Unix timestamp of the least recent audit event to include (inclusive).LogsRequest.LogsRequestBuilder
token(String token)
String
toString()
-
Method Details
-
token
-
latest
Unix timestamp of the most recent audit event to include (inclusive).- Returns:
this
.
-
oldest
Unix timestamp of the least recent audit event to include (inclusive). The earliest possible timestamp is when the Audit Logs feature was enabled for your Grid organization, around mid-March 2018.- Returns:
this
.
-
limit
Number of results to optimistically return, maximum 9999.- Returns:
this
.
-
action
Name of the action.- Returns:
this
.
-
actor
User ID who initiated the action.- Returns:
this
.
-
entity
ID of the target entity of the action (such as a channel, workspace, organization, file).- Returns:
this
.
-
cursor
Used for pagination. May be null.- Returns:
this
.
-
build
-
toString
-