Class LogsRequest

java.lang.Object
com.slack.api.audit.request.LogsRequest
All Implemented Interfaces:
AuditApiRequest

public class LogsRequest
extends Object
implements AuditApiRequest
  • Method Details

    • builder

      public static LogsRequest.LogsRequestBuilder builder()
    • getToken

      public String getToken()
      Specified by:
      getToken in interface AuditApiRequest
    • 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.
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual​(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object