Class ErrorReportApi

java.lang.Object
com.w3asel.inventree.api.ErrorReportApi

public class ErrorReportApi extends Object
  • Constructor Details

    • ErrorReportApi

      public ErrorReportApi()
    • ErrorReportApi

      public ErrorReportApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • 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

      public void errorReportBulkDestroy(@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)
      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

      public void errorReportDestroy(@Nonnull Integer id) throws ApiException
      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

      public ApiResponse<Void> errorReportDestroyWithHttpInfo(@Nonnull Integer id) throws ApiException
      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

      public ErrorMessage errorReportRetrieve(@Nonnull Integer id) throws ApiException
      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 -