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 class
LogsRequest.LogsRequestBuilder
-
Method Summary
Modifier and Type Method Description static LogsRequest.LogsRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getAction()
Name of the action.String
getActor()
User ID who initiated the action.String
getCursor()
Used for pagination.String
getEntity()
ID of the target entity of the action (such as a channel, workspace, organization, file).Integer
getLatest()
Unix timestamp of the most recent audit event to include (inclusive).Integer
getLimit()
Number of results to optimistically return, maximum 9999.Integer
getOldest()
Unix timestamp of the least recent audit event to include (inclusive).String
getToken()
int
hashCode()
void
setAction(String action)
Name of the action.void
setActor(String actor)
User ID who initiated the action.void
setCursor(String cursor)
Used for pagination.void
setEntity(String entity)
ID of the target entity of the action (such as a channel, workspace, organization, file).void
setLatest(Integer latest)
Unix timestamp of the most recent audit event to include (inclusive).void
setLimit(Integer limit)
Number of results to optimistically return, maximum 9999.void
setOldest(Integer oldest)
Unix timestamp of the least recent audit event to include (inclusive).void
setToken(String token)
String
toString()
-
Method Details
-
builder
-
getToken
- Specified by:
getToken
in 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
-