Package com.w3asel.inventree.api
Class ErrorReportApi
java.lang.Object
com.w3asel.inventree.api.ErrorReportApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiderrorReportBulkDestroy(BulkRequest bulkRequest) Perform a DELETE operation against this list endpoint.okhttp3.CallerrorReportBulkDestroyAsync(BulkRequest bulkRequest, ApiCallback<Void> _callback) (asynchronously) Perform a DELETE operation against this list endpoint.okhttp3.CallerrorReportBulkDestroyCall(BulkRequest bulkRequest, ApiCallback _callback) Build call for errorReportBulkDestroyerrorReportBulkDestroyWithHttpInfo(BulkRequest bulkRequest) Perform a DELETE operation against this list endpoint.voidDetail view for a single error message.okhttp3.CallerrorReportDestroyAsync(Integer id, ApiCallback<Void> _callback) (asynchronously) Detail view for a single error message.okhttp3.CallerrorReportDestroyCall(Integer id, ApiCallback _callback) Build call for errorReportDestroyDetail view for a single error message.errorReportList(Integer limit, Integer offset, String ordering, String search) List view for server error messages.okhttp3.CallerrorReportListAsync(Integer limit, Integer offset, String ordering, String search, ApiCallback<PaginatedErrorMessageList> _callback) (asynchronously) List view for server error messages.okhttp3.CallerrorReportListCall(Integer limit, Integer offset, String ordering, String search, ApiCallback _callback) Build call for errorReportListerrorReportListWithHttpInfo(Integer limit, Integer offset, String ordering, String search) List view for server error messages.errorReportPartialUpdate(Integer id, PatchedErrorMessage patchedErrorMessage) Detail view for a single error message.okhttp3.CallerrorReportPartialUpdateAsync(Integer id, PatchedErrorMessage patchedErrorMessage, ApiCallback<ErrorMessage> _callback) (asynchronously) Detail view for a single error message.okhttp3.CallerrorReportPartialUpdateCall(Integer id, PatchedErrorMessage patchedErrorMessage, ApiCallback _callback) Build call for errorReportPartialUpdateerrorReportPartialUpdateWithHttpInfo(Integer id, PatchedErrorMessage patchedErrorMessage) Detail view for a single error message.Detail view for a single error message.okhttp3.CallerrorReportRetrieveAsync(Integer id, ApiCallback<ErrorMessage> _callback) (asynchronously) Detail view for a single error message.okhttp3.CallerrorReportRetrieveCall(Integer id, ApiCallback _callback) Build call for errorReportRetrieveDetail view for a single error message.errorReportUpdate(Integer id, ErrorMessage errorMessage) Detail view for a single error message.okhttp3.CallerrorReportUpdateAsync(Integer id, ErrorMessage errorMessage, ApiCallback<ErrorMessage> _callback) (asynchronously) Detail view for a single error message.okhttp3.CallerrorReportUpdateCall(Integer id, ErrorMessage errorMessage, ApiCallback _callback) Build call for errorReportUpdateerrorReportUpdateWithHttpInfo(Integer id, ErrorMessage errorMessage) Detail view for a single error message.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
ErrorReportApi
public ErrorReportApi() -
ErrorReportApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
errorReportBulkDestroyCall
public okhttp3.Call errorReportBulkDestroyCall(@Nonnull BulkRequest bulkRequest, ApiCallback _callback) throws ApiException Build call for errorReportBulkDestroy- Parameters:
bulkRequest- (required)_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 204 No response body -
-
errorReportBulkDestroy
Perform a DELETE operation against this list endpoint. Note that the typical DRF list endpoint does not support DELETE, so this method is provided as a custom implementation.- Parameters:
bulkRequest- (required)- 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 204 No response body -
-
errorReportBulkDestroyWithHttpInfo
public ApiResponse<Void> errorReportBulkDestroyWithHttpInfo(@Nonnull BulkRequest bulkRequest) throws ApiException Perform a DELETE operation against this list endpoint. Note that the typical DRF list endpoint does not support DELETE, so this method is provided as a custom implementation.- Parameters:
bulkRequest- (required)- Returns:
- ApiResponse<Void>
- 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 204 No response body -
-
errorReportBulkDestroyAsync
public okhttp3.Call errorReportBulkDestroyAsync(@Nonnull BulkRequest bulkRequest, ApiCallback<Void> _callback) throws ApiException (asynchronously) Perform a DELETE operation against this list endpoint. Note that the typical DRF list endpoint does not support DELETE, so this method is provided as a custom implementation.- Parameters:
bulkRequest- (required)_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 204 No response body -
-
errorReportDestroyCall
public okhttp3.Call errorReportDestroyCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException Build call for errorReportDestroy- Parameters:
id- (required)_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 204 No response body -
-
errorReportDestroy
Detail view for a single error message.- Parameters:
id- (required)- 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 204 No response body -
-
errorReportDestroyWithHttpInfo
Detail view for a single error message.- Parameters:
id- (required)- Returns:
- ApiResponse<Void>
- 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 204 No response body -
-
errorReportDestroyAsync
public okhttp3.Call errorReportDestroyAsync(@Nonnull Integer id, ApiCallback<Void> _callback) throws ApiException (asynchronously) Detail view for a single error message.- Parameters:
id- (required)_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 204 No response body -
-
errorReportListCall
public okhttp3.Call errorReportListCall(@Nonnull Integer limit, @Nullable Integer offset, @Nullable String ordering, @Nullable String search, ApiCallback _callback) throws ApiException Build call for errorReportList- Parameters:
limit- Number of results to return per page. (required)offset- The initial index from which to return the results. (optional)ordering- Which field to use when ordering the results. Possible fields: when, info. (optional)search- A search term. Searched fields: data, info. (optional)_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 -
-
errorReportList
public PaginatedErrorMessageList errorReportList(@Nonnull Integer limit, @Nullable Integer offset, @Nullable String ordering, @Nullable String search) throws ApiException List view for server error messages.- Parameters:
limit- Number of results to return per page. (required)offset- The initial index from which to return the results. (optional)ordering- Which field to use when ordering the results. Possible fields: when, info. (optional)search- A search term. Searched fields: data, info. (optional)- Returns:
- PaginatedErrorMessageList
- 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 -
-
errorReportListWithHttpInfo
public ApiResponse<PaginatedErrorMessageList> errorReportListWithHttpInfo(@Nonnull Integer limit, @Nullable Integer offset, @Nullable String ordering, @Nullable String search) throws ApiException List view for server error messages.- Parameters:
limit- Number of results to return per page. (required)offset- The initial index from which to return the results. (optional)ordering- Which field to use when ordering the results. Possible fields: when, info. (optional)search- A search term. Searched fields: data, info. (optional)- Returns:
- ApiResponse<PaginatedErrorMessageList>
- 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 -
-
errorReportListAsync
public okhttp3.Call errorReportListAsync(@Nonnull Integer limit, @Nullable Integer offset, @Nullable String ordering, @Nullable String search, ApiCallback<PaginatedErrorMessageList> _callback) throws ApiException (asynchronously) List view for server error messages.- Parameters:
limit- Number of results to return per page. (required)offset- The initial index from which to return the results. (optional)ordering- Which field to use when ordering the results. Possible fields: when, info. (optional)search- A search term. Searched fields: data, info. (optional)_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 -
-
errorReportPartialUpdateCall
public okhttp3.Call errorReportPartialUpdateCall(@Nonnull Integer id, @Nullable PatchedErrorMessage patchedErrorMessage, ApiCallback _callback) throws ApiException Build call for errorReportPartialUpdate- Parameters:
id- (required)patchedErrorMessage- (optional)_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 -
-
errorReportPartialUpdate
public ErrorMessage errorReportPartialUpdate(@Nonnull Integer id, @Nullable PatchedErrorMessage patchedErrorMessage) throws ApiException Detail view for a single error message.- Parameters:
id- (required)patchedErrorMessage- (optional)- Returns:
- ErrorMessage
- 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 -
-
errorReportPartialUpdateWithHttpInfo
public ApiResponse<ErrorMessage> errorReportPartialUpdateWithHttpInfo(@Nonnull Integer id, @Nullable PatchedErrorMessage patchedErrorMessage) throws ApiException Detail view for a single error message.- Parameters:
id- (required)patchedErrorMessage- (optional)- Returns:
- ApiResponse<ErrorMessage>
- 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 -
-
errorReportPartialUpdateAsync
public okhttp3.Call errorReportPartialUpdateAsync(@Nonnull Integer id, @Nullable PatchedErrorMessage patchedErrorMessage, ApiCallback<ErrorMessage> _callback) throws ApiException (asynchronously) Detail view for a single error message.- Parameters:
id- (required)patchedErrorMessage- (optional)_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 -
-
errorReportRetrieveCall
public okhttp3.Call errorReportRetrieveCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException Build call for errorReportRetrieve- Parameters:
id- (required)_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 -
-
errorReportRetrieve
Detail view for a single error message.- Parameters:
id- (required)- Returns:
- ErrorMessage
- 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 -
-
errorReportRetrieveWithHttpInfo
public ApiResponse<ErrorMessage> errorReportRetrieveWithHttpInfo(@Nonnull Integer id) throws ApiException Detail view for a single error message.- Parameters:
id- (required)- Returns:
- ApiResponse<ErrorMessage>
- 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 -
-
errorReportRetrieveAsync
public okhttp3.Call errorReportRetrieveAsync(@Nonnull Integer id, ApiCallback<ErrorMessage> _callback) throws ApiException (asynchronously) Detail view for a single error message.- Parameters:
id- (required)_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 -
-
errorReportUpdateCall
public okhttp3.Call errorReportUpdateCall(@Nonnull Integer id, @Nullable ErrorMessage errorMessage, ApiCallback _callback) throws ApiException Build call for errorReportUpdate- Parameters:
id- (required)errorMessage- (optional)_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 -
-
errorReportUpdate
public ErrorMessage errorReportUpdate(@Nonnull Integer id, @Nullable ErrorMessage errorMessage) throws ApiException Detail view for a single error message.- Parameters:
id- (required)errorMessage- (optional)- Returns:
- ErrorMessage
- 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 -
-
errorReportUpdateWithHttpInfo
public ApiResponse<ErrorMessage> errorReportUpdateWithHttpInfo(@Nonnull Integer id, @Nullable ErrorMessage errorMessage) throws ApiException Detail view for a single error message.- Parameters:
id- (required)errorMessage- (optional)- Returns:
- ApiResponse<ErrorMessage>
- 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 -
-
errorReportUpdateAsync
public okhttp3.Call errorReportUpdateAsync(@Nonnull Integer id, @Nullable ErrorMessage errorMessage, ApiCallback<ErrorMessage> _callback) throws ApiException (asynchronously) Detail view for a single error message.- Parameters:
id- (required)errorMessage- (optional)_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 -
-