Package com.slack.api.audit.request
Class LogsRequest
java.lang.Object
com.slack.api.audit.request.LogsRequest
- All Implemented Interfaces:
AuditApiRequest
public class LogsRequest extends Object implements AuditApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLogsRequest.LogsRequestBuilder -
Method Summary
Modifier and Type Method Description static LogsRequest.LogsRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)StringgetAction()Name of the action.StringgetActor()User ID who initiated the action.StringgetCursor()Used for pagination.StringgetEntity()ID of the target entity of the action (such as a channel, workspace, organization, file).IntegergetLatest()Unix timestamp of the most recent audit event to include (inclusive).IntegergetLimit()Number of results to optimistically return, maximum 9999.IntegergetOldest()Unix timestamp of the least recent audit event to include (inclusive).StringgetToken()inthashCode()voidsetAction(String action)Name of the action.voidsetActor(String actor)User ID who initiated the action.voidsetCursor(String cursor)Used for pagination.voidsetEntity(String entity)ID of the target entity of the action (such as a channel, workspace, organization, file).voidsetLatest(Integer latest)Unix timestamp of the most recent audit event to include (inclusive).voidsetLimit(Integer limit)Number of results to optimistically return, maximum 9999.voidsetOldest(Integer oldest)Unix timestamp of the least recent audit event to include (inclusive).voidsetToken(String token)StringtoString()
-
Method Details
-
builder
-
getToken
- Specified by:
getTokenin interfaceAuditApiRequest
-
getLatest
Unix timestamp of the most recent audit event to include (inclusive). -
getOldest
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. -
getLimit
Number of results to optimistically return, maximum 9999. -
getAction
Name of the action. -
getActor
User ID who initiated the action. -
getEntity
ID of the target entity of the action (such as a channel, workspace, organization, file). -
getCursor
Used for pagination. May be null. -
setToken
-
setLatest
Unix timestamp of the most recent audit event to include (inclusive). -
setOldest
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. -
setLimit
Number of results to optimistically return, maximum 9999. -
setAction
Name of the action. -
setActor
User ID who initiated the action. -
setEntity
ID of the target entity of the action (such as a channel, workspace, organization, file). -
setCursor
Used for pagination. May be null. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-