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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static LogsRequest.LogsRequestBuilder builder()
-
getToken
public String getToken()
- Specified by:
getTokenin interfaceAuditApiRequest
-
getLatest
public Integer getLatest()
Unix timestamp of the most recent audit event to include (inclusive).
-
getOldest
public Integer 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
public Integer getLimit()
Number of results to optimistically return, maximum 9999.
-
getAction
public String getAction()
Name of the action.
-
getActor
public String getActor()
User ID who initiated the action.
-
getEntity
public String getEntity()
ID of the target entity of the action (such as a channel, workspace, organization, file).
-
getCursor
public String getCursor()
Used for pagination. May be null.
-
setToken
public void setToken(String token)
-
setLatest
public void setLatest(Integer latest)
Unix timestamp of the most recent audit event to include (inclusive).
-
setOldest
public void setOldest(Integer 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.
-
setLimit
public void setLimit(Integer limit)
Number of results to optimistically return, maximum 9999.
-
setAction
public void setAction(String action)
Name of the action.
-
setActor
public void setActor(String actor)
User ID who initiated the action.
-
setEntity
public void setEntity(String entity)
ID of the target entity of the action (such as a channel, workspace, organization, file).
-
setCursor
public void setCursor(String cursor)
Used for pagination. May be null.
-
canEqual
protected boolean canEqual(Object other)
-
-