Package com.veeroute.lss.account.api
Class AuditApi
java.lang.Object
com.veeroute.lss.account.api.AuditApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintreadAudit(Integer offset, Integer limit, OffsetDateTime from, OffsetDateTime to, Service service, String operation, ProcessType processType, CalculationStatus status, String sortField, String sortDirection) Actions for the period User actions for the period.okhttp3.CallreadAuditAsync(Integer offset, Integer limit, OffsetDateTime from, OffsetDateTime to, Service service, String operation, ProcessType processType, CalculationStatus status, String sortField, String sortDirection, ApiCallback<AccountAuditResult> _callback) Actions for the period (asynchronously) User actions for the period.okhttp3.CallreadAuditCall(Integer offset, Integer limit, OffsetDateTime from, OffsetDateTime to, Service service, String operation, ProcessType processType, CalculationStatus status, String sortField, String sortDirection, ApiCallback _callback) Build call for readAuditreadAuditWithHttpInfo(Integer offset, Integer limit, OffsetDateTime from, OffsetDateTime to, Service service, String operation, ProcessType processType, CalculationStatus status, String sortField, String sortDirection) Actions for the period User actions for the period.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
AuditApi
public AuditApi() -
AuditApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
readAuditCall
public okhttp3.Call readAuditCall(@Nullable Integer offset, @Nullable Integer limit, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to, @Nullable Service service, @Nullable String operation, @Nullable ProcessType processType, @Nullable CalculationStatus status, @Nullable String sortField, @Nullable String sortDirection, ApiCallback _callback) throws ApiException Build call for readAudit- Parameters:
offset- The number of items to skip before starting to collect the result set. (optional, default to 0)limit- The number of items to return. (optional, default to 100)from- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)to- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)service- Service name. (optional)operation- Operation name. (optional)processType- Process type. (optional)status- Process status. (optional)sortField- Field to sort by. (optional)sortDirection- Sort direction. (optional, default to ASC)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readAudit
public AccountAuditResult readAudit(@Nullable Integer offset, @Nullable Integer limit, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to, @Nullable Service service, @Nullable String operation, @Nullable ProcessType processType, @Nullable CalculationStatus status, @Nullable String sortField, @Nullable String sortDirection) throws ApiException Actions for the period User actions for the period. If the period is not specified, data for the current day is returned - from the beginning of the day to the current time inclusive. If the beginning of the time period is not specified, data from the beginning of the current day is returned. If the end of the time period is not specified, data up to the current time is returned.- Parameters:
offset- The number of items to skip before starting to collect the result set. (optional, default to 0)limit- The number of items to return. (optional, default to 100)from- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)to- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)service- Service name. (optional)operation- Operation name. (optional)processType- Process type. (optional)status- Process status. (optional)sortField- Field to sort by. (optional)sortDirection- Sort direction. (optional, default to ASC)- Returns:
- AccountAuditResult
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readAuditWithHttpInfo
public ApiResponse<AccountAuditResult> readAuditWithHttpInfo(@Nullable Integer offset, @Nullable Integer limit, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to, @Nullable Service service, @Nullable String operation, @Nullable ProcessType processType, @Nullable CalculationStatus status, @Nullable String sortField, @Nullable String sortDirection) throws ApiException Actions for the period User actions for the period. If the period is not specified, data for the current day is returned - from the beginning of the day to the current time inclusive. If the beginning of the time period is not specified, data from the beginning of the current day is returned. If the end of the time period is not specified, data up to the current time is returned.- Parameters:
offset- The number of items to skip before starting to collect the result set. (optional, default to 0)limit- The number of items to return. (optional, default to 100)from- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)to- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)service- Service name. (optional)operation- Operation name. (optional)processType- Process type. (optional)status- Process status. (optional)sortField- Field to sort by. (optional)sortDirection- Sort direction. (optional, default to ASC)- Returns:
- ApiResponse<AccountAuditResult>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readAuditAsync
public okhttp3.Call readAuditAsync(@Nullable Integer offset, @Nullable Integer limit, @Nullable OffsetDateTime from, @Nullable OffsetDateTime to, @Nullable Service service, @Nullable String operation, @Nullable ProcessType processType, @Nullable CalculationStatus status, @Nullable String sortField, @Nullable String sortDirection, ApiCallback<AccountAuditResult> _callback) throws ApiException Actions for the period (asynchronously) User actions for the period. If the period is not specified, data for the current day is returned - from the beginning of the day to the current time inclusive. If the beginning of the time period is not specified, data from the beginning of the current day is returned. If the end of the time period is not specified, data up to the current time is returned.- Parameters:
offset- The number of items to skip before starting to collect the result set. (optional, default to 0)limit- The number of items to return. (optional, default to 100)from- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If no datetime is specified, audit data are returned from the beginning of the day. (optional)to- Date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format. If not specified, data up to the current time is returned. (optional)service- Service name. (optional)operation- Operation name. (optional)processType- Process type. (optional)status- Process status. (optional)sortField- Field to sort by. (optional)sortDirection- Sort direction. (optional, default to ASC)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Successful execution - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-