public class AuditLogApi
extends java.lang.Object
| Constructor | Description |
|---|---|
AuditLogApi() |
|
AuditLogApi(ApiClient apiClient) |
| Modifier and Type | Method | Description |
|---|---|---|
ApiClient |
getApiClient() |
|
AuditLogEntries |
getAuditLogEntries(java.lang.Long before,
java.lang.Long after,
java.lang.String q,
java.math.BigDecimal limit,
java.lang.String spec) |
Get a list of all audit log entries.
|
com.squareup.okhttp.Call |
getAuditLogEntriesAsync(java.lang.Long before,
java.lang.Long after,
java.lang.String q,
java.math.BigDecimal limit,
java.lang.String spec,
ApiCallback<AuditLogEntries> callback) |
Get a list of all audit log entries.
|
com.squareup.okhttp.Call |
getAuditLogEntriesCall(java.lang.Long before,
java.lang.Long after,
java.lang.String q,
java.math.BigDecimal limit,
java.lang.String spec,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getAuditLogEntries
|
ApiResponse<AuditLogEntries> |
getAuditLogEntriesWithHttpInfo(java.lang.Long before,
java.lang.Long after,
java.lang.String q,
java.math.BigDecimal limit,
java.lang.String spec) |
Get a list of all audit log entries.
|
AuditLogEntry |
getAuditLogEntry(java.lang.String resourceId) |
Use this endpoint to fetch a single audit log entry by its resouce ID.
|
com.squareup.okhttp.Call |
getAuditLogEntryAsync(java.lang.String resourceId,
ApiCallback<AuditLogEntry> callback) |
Use this endpoint to fetch a single audit log entry by its resouce ID.
|
com.squareup.okhttp.Call |
getAuditLogEntryCall(java.lang.String resourceId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getAuditLogEntry
|
ApiResponse<AuditLogEntry> |
getAuditLogEntryWithHttpInfo(java.lang.String resourceId) |
Use this endpoint to fetch a single audit log entry by its resouce ID.
|
void |
setApiClient(ApiClient apiClient) |
public AuditLogApi()
public AuditLogApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getAuditLogEntriesCall(java.lang.Long before,
java.lang.Long after,
java.lang.String q,
java.math.BigDecimal limit,
java.lang.String spec,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
before - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp. (optional)after - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. (optional)q - Text to search for. You can search for the full or partial name of the resource involved or full or partial email address of the member who made the change. (optional)limit - A limit on the number of audit log entries to be returned, between 1 and 20. (optional)spec - A resource specifier, allowing you to filter audit log listings by resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AuditLogEntries getAuditLogEntries(java.lang.Long before, java.lang.Long after, java.lang.String q, java.math.BigDecimal limit, java.lang.String spec) throws ApiException
before - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp. (optional)after - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. (optional)q - Text to search for. You can search for the full or partial name of the resource involved or full or partial email address of the member who made the change. (optional)limit - A limit on the number of audit log entries to be returned, between 1 and 20. (optional)spec - A resource specifier, allowing you to filter audit log listings by resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AuditLogEntries> getAuditLogEntriesWithHttpInfo(java.lang.Long before, java.lang.Long after, java.lang.String q, java.math.BigDecimal limit, java.lang.String spec) throws ApiException
before - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp. (optional)after - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. (optional)q - Text to search for. You can search for the full or partial name of the resource involved or full or partial email address of the member who made the change. (optional)limit - A limit on the number of audit log entries to be returned, between 1 and 20. (optional)spec - A resource specifier, allowing you to filter audit log listings by resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAuditLogEntriesAsync(java.lang.Long before,
java.lang.Long after,
java.lang.String q,
java.math.BigDecimal limit,
java.lang.String spec,
ApiCallback<AuditLogEntries> callback)
throws ApiException
before - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have before this timestamp. (optional)after - A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned will have occurred after this timestamp. (optional)q - Text to search for. You can search for the full or partial name of the resource involved or full or partial email address of the member who made the change. (optional)limit - A limit on the number of audit log entries to be returned, between 1 and 20. (optional)spec - A resource specifier, allowing you to filter audit log listings by resource. (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getAuditLogEntryCall(java.lang.String resourceId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
resourceId - The resource ID. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic AuditLogEntry getAuditLogEntry(java.lang.String resourceId) throws ApiException
resourceId - The resource ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AuditLogEntry> getAuditLogEntryWithHttpInfo(java.lang.String resourceId) throws ApiException
resourceId - The resource ID. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAuditLogEntryAsync(java.lang.String resourceId,
ApiCallback<AuditLogEntry> callback)
throws ApiException
resourceId - The resource ID. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object