Package com.w3asel.inventree.api
Class GenerateApi
java.lang.Object
com.w3asel.inventree.api.GenerateApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateBatchCodeCreate(GenerateBatchCode generateBatchCode) Generate a new batch code.okhttp3.CallgenerateBatchCodeCreateAsync(GenerateBatchCode generateBatchCode, ApiCallback<GenerateBatchCode> _callback) (asynchronously) Generate a new batch code.okhttp3.CallgenerateBatchCodeCreateCall(GenerateBatchCode generateBatchCode, ApiCallback _callback) Build call for generateBatchCodeCreategenerateBatchCodeCreateWithHttpInfo(GenerateBatchCode generateBatchCode) Generate a new batch code.generateSerialNumberCreate(GenerateSerialNumber generateSerialNumber) Generate a new serial number.okhttp3.CallgenerateSerialNumberCreateAsync(GenerateSerialNumber generateSerialNumber, ApiCallback<GenerateSerialNumber> _callback) (asynchronously) Generate a new serial number.okhttp3.CallgenerateSerialNumberCreateCall(GenerateSerialNumber generateSerialNumber, ApiCallback _callback) Build call for generateSerialNumberCreategenerateSerialNumberCreateWithHttpInfo(GenerateSerialNumber generateSerialNumber) Generate a new serial number.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
GenerateApi
public GenerateApi() -
GenerateApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
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 -
-