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.LogsRequestBuilderaction(String action)Name of the action.LogsRequest.LogsRequestBuilderactor(String actor)User ID who initiated the action.LogsRequestbuild()LogsRequest.LogsRequestBuildercursor(String cursor)Used for pagination.LogsRequest.LogsRequestBuilderentity(String entity)ID of the target entity of the action (such as a channel, workspace, organization, file).LogsRequest.LogsRequestBuilderlatest(Integer latest)Unix timestamp of the most recent audit event to include (inclusive).LogsRequest.LogsRequestBuilderlimit(Integer limit)Number of results to optimistically return, maximum 9999.LogsRequest.LogsRequestBuilderoldest(Integer oldest)Unix timestamp of the least recent audit event to include (inclusive).LogsRequest.LogsRequestBuildertoken(String token)StringtoString()
-
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
-