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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
builder
public static LogsRequest.LogsRequestBuilder builder()
-
getToken
public String getToken()
- Specified by:
getToken
in 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)
-
-