Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package com.seeq.api;
import com.seeq.ApiException;
import com.seeq.ApiClient;
import com.seeq.Configuration;
import com.seeq.model.*;
import com.seeq.Pair;
import javax.ws.rs.core.GenericType;
import javax.ws.rs.ProcessingException;
import com.seeq.model.AuditOutputListV1;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class AuditApi {
private ApiClient apiClient;
private long retryTimeout = 5_000; // Default of 5 seconds
public AuditApi() {
this(Configuration.getDefaultApiClient());
}
public AuditApi(ApiClient apiClient) {
this.apiClient = apiClient;
}
public void setRetryTimeout(long retryTimeout) {
this.retryTimeout = retryTimeout;
}
public long getRetryTimeout() {
return this.retryTimeout;
}
public ApiClient getApiClient() {
return apiClient;
}
public void setApiClient(ApiClient apiClient) {
this.apiClient = apiClient;
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of collection items that will be returned in this page of results (optional, default to 100)
* @param sortAsc When true sorts by oldest entries first, when false sorts by newest entries first (optional, default to true)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset, Integer limit, Boolean sortAsc) throws ApiException {
ApiClient.ApiResponse localVarResponse = getAuditEntriesWithHttpInfo(startTime, endTime, userID, itemID, itemType, changeType, offset, limit, sortAsc);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of collection items that will be returned in this page of results (optional, default to 100)
* @param sortAsc When true sorts by oldest entries first, when false sorts by newest entries first (optional, default to true)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset, Integer limit, Boolean sortAsc) throws ApiException {
Map localVarHeaderParams = new HashMap();
return getAuditEntriesWithHeadersAndHttpInfo(startTime, endTime, userID, itemID, itemType, changeType, offset, limit, sortAsc, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional, default to 0)
* @param limit The pagination limit, the total number of collection items that will be returned in this page of results (optional, default to 100)
* @param sortAsc When true sorts by oldest entries first, when false sorts by newest entries first (optional, default to true)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset, Integer limit, Boolean sortAsc, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("multi", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("multi", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("multi", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("multi", "changeType", changeType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "sortAsc", sortAsc));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
private ApiClient.ApiResponse getAuditEntriesInternal(List queryParams, Map headerParams) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
String localVarPath = "/audit";
// query params
Map localVarFormParams = new HashMap();
final String[] localVarAccepts = {
"application/vnd.seeq.v1+json"
};
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
final String[] localVarContentTypes = {
};
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
String[] localVarAuthNames = new String[] { "api_key" };
long apiClientInvocationTime = System.currentTimeMillis();
while(true) {
try {
GenericType localVarReturnType = new GenericType() {};
return apiClient.invokeAPIWithHttpInfo(localVarPath, "GET", queryParams, localVarPostBody, headerParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localVarReturnType);
// Possible exceptions:
// ===================
// * ResponseProcessingException - in case processing of a received HTTP response fails (e.g. in a filter or
// during conversion of the response entity data to an instance of a particular Java type).
// * ProcessingException - in case the request processing or subsequent I/O operation fails.
// * WebApplicationException - in case the response status code of the response returned by the server is not
// successful and the specified response type is not Response.
// * ApiException for exceptions wrapped by ApiClient. Most likely all WebApplicationException are wrapped
// in ApiException(s)
} catch (ApiException | ProcessingException e) {
if (e instanceof ProcessingException || e instanceof ApiException && ((ApiException) e).getCode() == 504) {
long elapsedTime = System.currentTimeMillis() - apiClientInvocationTime;
if (elapsedTime <= this.retryTimeout && this.retryTimeout != 0) {
continue;
}
}
throw e;
}
} // while
}
// OVERLOADS START
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional)
* @param limit The pagination limit, the total number of collection items that will be returned in this page of results (optional)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset, Integer limit) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional)
* @param limit The pagination limit, the total number of collection items that will be returned in this page of results (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset, Integer limit) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional)
* @param limit The pagination limit, the total number of collection items that will be returned in this page of results (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset, Integer limit, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "limit", limit));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param offset The pagination offset, the index of the first collection item that will be returned in this page of results (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Integer offset, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "offset", offset));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime, String endTime, List userID, List itemID, List itemType, List changeType) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, List changeType) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param changeType Change type(s) to filter on (Create, Update, Delete) (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, List changeType, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "changeType", changeType));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime, String endTime, List userID, List itemID, List itemType) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param itemType Item type(s) to filter on (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, String endTime, List userID, List itemID, List itemType, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemType", itemType));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime, String endTime, List userID, List itemID) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime, String endTime, List userID, List itemID) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param itemID Item ID(s) to filter on (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, String endTime, List userID, List itemID, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "itemID", itemID));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime, String endTime, List userID) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime, String endTime, List userID) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param userID User ID(s) to filter on (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, String endTime, List userID, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "userID", userID));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime, String endTime) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime, String endTime) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param endTime The end time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, String endTime, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarQueryParams.addAll(apiClient.parameterToPairs("", "endTime", endTime));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries(String startTime) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo(String startTime) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
* @param startTime The start time for the query, formatted as an ISO 8601 timestamp (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm) (optional)
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(String startTime, Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarQueryParams.addAll(apiClient.parameterToPairs("", "startTime", startTime));
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
*
* @return AuditOutputListV1
* @throws ApiException if fails to make API call
*/
public AuditOutputListV1 getAuditEntries() throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
ApiClient.ApiResponse localVarResponse = getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
return localVarResponse != null ? localVarResponse.getData() : null;
}
/**
* Get a collection of Audit Trail entries
*
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHttpInfo() throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
/**
* Get a collection of Audit Trail entries
*
*
* @param customHeaders a map with custom headers for the HTTP request (required)
* @throws ApiException if fails to make API call
*/
public ApiClient.ApiResponse getAuditEntriesWithHeadersAndHttpInfo(Map customHeaders) throws ApiException {
List localVarQueryParams = new ArrayList();
Map localVarHeaderParams = new HashMap();
localVarHeaderParams.putAll(customHeaders);
return getAuditEntriesInternal(localVarQueryParams, localVarHeaderParams);
}
// OVERLOADS END
}