Class GenerateApi

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

public class GenerateApi extends Object
  • Constructor Details

    • GenerateApi

      public GenerateApi()
    • GenerateApi

      public GenerateApi(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)
    • generateBatchCodeCreateCall

      public okhttp3.Call generateBatchCodeCreateCall(@Nullable GenerateBatchCode generateBatchCode, ApiCallback _callback) throws ApiException
      Build call for generateBatchCodeCreate
      Parameters:
      generateBatchCode - (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 -
    • generateBatchCodeCreate

      public GenerateBatchCode generateBatchCodeCreate(@Nullable GenerateBatchCode generateBatchCode) throws ApiException
      Generate a new batch code.
      Parameters:
      generateBatchCode - (optional)
      Returns:
      GenerateBatchCode
      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 -
    • generateBatchCodeCreateWithHttpInfo

      public ApiResponse<GenerateBatchCode> generateBatchCodeCreateWithHttpInfo(@Nullable GenerateBatchCode generateBatchCode) throws ApiException
      Generate a new batch code.
      Parameters:
      generateBatchCode - (optional)
      Returns:
      ApiResponse<GenerateBatchCode>
      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 -
    • generateBatchCodeCreateAsync

      public okhttp3.Call generateBatchCodeCreateAsync(@Nullable GenerateBatchCode generateBatchCode, ApiCallback<GenerateBatchCode> _callback) throws ApiException
      (asynchronously) Generate a new batch code.
      Parameters:
      generateBatchCode - (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 -
    • generateSerialNumberCreateCall

      public okhttp3.Call generateSerialNumberCreateCall(@Nullable GenerateSerialNumber generateSerialNumber, ApiCallback _callback) throws ApiException
      Build call for generateSerialNumberCreate
      Parameters:
      generateSerialNumber - (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 -
    • generateSerialNumberCreate

      public GenerateSerialNumber generateSerialNumberCreate(@Nullable GenerateSerialNumber generateSerialNumber) throws ApiException
      Generate a new serial number.
      Parameters:
      generateSerialNumber - (optional)
      Returns:
      GenerateSerialNumber
      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 -
    • generateSerialNumberCreateWithHttpInfo

      public ApiResponse<GenerateSerialNumber> generateSerialNumberCreateWithHttpInfo(@Nullable GenerateSerialNumber generateSerialNumber) throws ApiException
      Generate a new serial number.
      Parameters:
      generateSerialNumber - (optional)
      Returns:
      ApiResponse<GenerateSerialNumber>
      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 -
    • generateSerialNumberCreateAsync

      public okhttp3.Call generateSerialNumberCreateAsync(@Nullable GenerateSerialNumber generateSerialNumber, ApiCallback<GenerateSerialNumber> _callback) throws ApiException
      (asynchronously) Generate a new serial number.
      Parameters:
      generateSerialNumber - (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 -