Class PackApi

java.lang.Object
com.veeroute.lss.packer.api.PackApi

public class PackApi extends Object
  • Constructor Details

    • PackApi

      public PackApi()
    • PackApi

      public PackApi(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)
    • cancelPackCalculationCall

      public okhttp3.Call cancelPackCalculationCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException
      Build call for cancelPackCalculation
      Parameters:
      processCode - Unique process identifier. (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 Calculation successfully canceled -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • cancelPackCalculation

      public void cancelPackCalculation(@Nonnull UUID processCode) throws ApiException
      Cancel calculation Cancel calculation process by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (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 Calculation successfully canceled -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • cancelPackCalculationWithHttpInfo

      public ApiResponse<Void> cancelPackCalculationWithHttpInfo(@Nonnull UUID processCode) throws ApiException
      Cancel calculation Cancel calculation process by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (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 Calculation successfully canceled -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • cancelPackCalculationAsync

      public okhttp3.Call cancelPackCalculationAsync(@Nonnull UUID processCode, ApiCallback<Void> _callback) throws ApiException
      Cancel calculation (asynchronously) Cancel calculation process by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (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 Calculation successfully canceled -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • deletePackResultCall

      public okhttp3.Call deletePackResultCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException
      Build call for deletePackResult
      Parameters:
      processCode - Unique process identifier. (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 Successful execution - calculation result deleted -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • deletePackResult

      public void deletePackResult(@Nonnull UUID processCode) throws ApiException
      Result removal Removal of the planning result by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (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 Successful execution - calculation result deleted -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • deletePackResultWithHttpInfo

      public ApiResponse<Void> deletePackResultWithHttpInfo(@Nonnull UUID processCode) throws ApiException
      Result removal Removal of the planning result by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (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 Successful execution - calculation result deleted -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • deletePackResultAsync

      public okhttp3.Call deletePackResultAsync(@Nonnull UUID processCode, ApiCallback<Void> _callback) throws ApiException
      Result removal (asynchronously) Removal of the planning result by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (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 Successful execution - calculation result deleted -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • readPackResultCall

      public okhttp3.Call readPackResultCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException
      Build call for readPackResult
      Parameters:
      processCode - Unique process identifier. (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 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • readPackResult

      public PackResult readPackResult(@Nonnull UUID processCode) throws ApiException
      Getting the result Getting the result based on the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      PackResult
      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 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • readPackResultWithHttpInfo

      public ApiResponse<PackResult> readPackResultWithHttpInfo(@Nonnull UUID processCode) throws ApiException
      Getting the result Getting the result based on the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      ApiResponse<PackResult>
      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 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • readPackResultAsync

      public okhttp3.Call readPackResultAsync(@Nonnull UUID processCode, ApiCallback<PackResult> _callback) throws ApiException
      Getting the result (asynchronously) Getting the result based on the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (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 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • readPackStateCall

      public okhttp3.Call readPackStateCall(@Nonnull UUID processCode, ApiCallback _callback) throws ApiException
      Build call for readPackState
      Parameters:
      processCode - Unique process identifier. (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 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • readPackState

      public CalculationState readPackState(@Nonnull UUID processCode) throws ApiException
      Calculation state Read calculation state by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      CalculationState
      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 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • readPackStateWithHttpInfo

      public ApiResponse<CalculationState> readPackStateWithHttpInfo(@Nonnull UUID processCode) throws ApiException
      Calculation state Read calculation state by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (required)
      Returns:
      ApiResponse<CalculationState>
      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 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • readPackStateAsync

      public okhttp3.Call readPackStateAsync(@Nonnull UUID processCode, ApiCallback<CalculationState> _callback) throws ApiException
      Calculation state (asynchronously) Read calculation state by the calculation identifier.
      Parameters:
      processCode - Unique process identifier. (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 Calculation completed successfully -
      202 Calculation in progress, intermediate results returned -
      299 Calculation completed, problems encountered during the calculation process -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackCalculationCall

      public okhttp3.Call runPackCalculationCall(@Nonnull PackTask packTask, ApiCallback _callback) throws ApiException
      Build call for runPackCalculation
      Parameters:
      packTask - Data for calculation. (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 Calculation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackCalculation

      public PackResult runPackCalculation(@Nonnull PackTask packTask) throws ApiException
      Packing (SYNC) Planning the optimal package.
      Parameters:
      packTask - Data for calculation. (required)
      Returns:
      PackResult
      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 Calculation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackCalculationWithHttpInfo

      public ApiResponse<PackResult> runPackCalculationWithHttpInfo(@Nonnull PackTask packTask) throws ApiException
      Packing (SYNC) Planning the optimal package.
      Parameters:
      packTask - Data for calculation. (required)
      Returns:
      ApiResponse<PackResult>
      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 Calculation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackCalculationAsync

      public okhttp3.Call runPackCalculationAsync(@Nonnull PackTask packTask, ApiCallback<PackResult> _callback) throws ApiException
      Packing (SYNC) (asynchronously) Planning the optimal package.
      Parameters:
      packTask - Data for calculation. (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 Calculation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackCalculationAsyncCall

      public okhttp3.Call runPackCalculationAsyncCall(@Nonnull PackTask packTask, ApiCallback _callback) throws ApiException
      Build call for runPackCalculationAsync
      Parameters:
      packTask - Data for calculation. (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 The calculation was successfully added to the queue -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackCalculationAsync

      public CalculationAsyncResult runPackCalculationAsync(@Nonnull PackTask packTask) throws ApiException
      Packing The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).
      Parameters:
      packTask - Data for calculation. (required)
      Returns:
      CalculationAsyncResult
      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 The calculation was successfully added to the queue -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackCalculationAsyncWithHttpInfo

      public ApiResponse<CalculationAsyncResult> runPackCalculationAsyncWithHttpInfo(@Nonnull PackTask packTask) throws ApiException
      Packing The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).
      Parameters:
      packTask - Data for calculation. (required)
      Returns:
      ApiResponse<CalculationAsyncResult>
      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 The calculation was successfully added to the queue -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackCalculationAsyncAsync

      public okhttp3.Call runPackCalculationAsyncAsync(@Nonnull PackTask packTask, ApiCallback<CalculationAsyncResult> _callback) throws ApiException
      Packing (asynchronously) The result can be obtained using the [result](#/pack/read_pack_result) method, removing - with [delete](#/pack/delete_pack_result).
      Parameters:
      packTask - Data for calculation. (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 The calculation was successfully added to the queue -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackValidationCall

      public okhttp3.Call runPackValidationCall(@Nonnull PackTask packTask, ApiCallback _callback) throws ApiException
      Build call for runPackValidation
      Parameters:
      packTask - Data for calculation. (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 Data validation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackValidation

      public PackerValidateResult runPackValidation(@Nonnull PackTask packTask) throws ApiException
      Data validation Checking data before planning.
      Parameters:
      packTask - Data for calculation. (required)
      Returns:
      PackerValidateResult
      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 Data validation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackValidationWithHttpInfo

      public ApiResponse<PackerValidateResult> runPackValidationWithHttpInfo(@Nonnull PackTask packTask) throws ApiException
      Data validation Checking data before planning.
      Parameters:
      packTask - Data for calculation. (required)
      Returns:
      ApiResponse<PackerValidateResult>
      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 Data validation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -
    • runPackValidationAsync

      public okhttp3.Call runPackValidationAsync(@Nonnull PackTask packTask, ApiCallback<PackerValidateResult> _callback) throws ApiException
      Data validation (asynchronously) Checking data before planning.
      Parameters:
      packTask - Data for calculation. (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 Data validation completed successfully -
      400 Bad request - data contain errors -
      401 Unauthorized - incorrect authorization details, token is missing or invalid -
      402 Payment Required -
      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 -