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 java.lang.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(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetAction()Name of the action.java.lang.StringgetActor()User ID who initiated the action.java.lang.StringgetCursor()Used for pagination.java.lang.StringgetEntity()ID of the target entity of the action (such as a channel, workspace, organization, file).java.lang.IntegergetLatest()Unix timestamp of the most recent audit event to include (inclusive).java.lang.IntegergetLimit()Number of results to optimistically return, maximum 9999.java.lang.IntegergetOldest()Unix timestamp of the least recent audit event to include (inclusive).java.lang.StringgetToken()inthashCode()voidsetAction(java.lang.String action)Name of the action.voidsetActor(java.lang.String actor)User ID who initiated the action.voidsetCursor(java.lang.String cursor)Used for pagination.voidsetEntity(java.lang.String entity)ID of the target entity of the action (such as a channel, workspace, organization, file).voidsetLatest(java.lang.Integer latest)Unix timestamp of the most recent audit event to include (inclusive).voidsetLimit(java.lang.Integer limit)Number of results to optimistically return, maximum 9999.voidsetOldest(java.lang.Integer oldest)Unix timestamp of the least recent audit event to include (inclusive).voidsetToken(java.lang.String token)java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()- Specified by:
getTokenin interfaceAuditApiRequest
-
getLatest
public java.lang.Integer getLatest()Unix timestamp of the most recent audit event to include (inclusive). -
getOldest
public java.lang.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 java.lang.Integer getLimit()Number of results to optimistically return, maximum 9999. -
getAction
public java.lang.String getAction()Name of the action. -
getActor
public java.lang.String getActor()User ID who initiated the action. -
getEntity
public java.lang.String getEntity()ID of the target entity of the action (such as a channel, workspace, organization, file). -
getCursor
public java.lang.String getCursor()Used for pagination. May be null. -
setToken
public void setToken(java.lang.String token) -
setLatest
public void setLatest(java.lang.Integer latest)Unix timestamp of the most recent audit event to include (inclusive). -
setOldest
public void setOldest(java.lang.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(java.lang.Integer limit)Number of results to optimistically return, maximum 9999. -
setAction
public void setAction(java.lang.String action)Name of the action. -
setActor
public void setActor(java.lang.String actor)User ID who initiated the action. -
setEntity
public void setEntity(java.lang.String entity)ID of the target entity of the action (such as a channel, workspace, organization, file). -
setCursor
public void setCursor(java.lang.String cursor)Used for pagination. May be null. -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-