Class BuildApi

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

public class BuildApi extends Object
  • Constructor Details

    • BuildApi

      public BuildApi()
    • BuildApi

      public BuildApi(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)
    • buildAllocateCreateCall

      public okhttp3.Call buildAllocateCreateCall(@Nonnull Integer id, @Nonnull BuildAllocation buildAllocation, ApiCallback _callback) throws ApiException
      Build call for buildAllocateCreate
      Parameters:
      id - (required)
      buildAllocation - (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
      201 -
    • buildAllocateCreate

      public BuildAllocation buildAllocateCreate(@Nonnull Integer id, @Nonnull BuildAllocation buildAllocation) throws ApiException
      API endpoint to allocate stock items to a build order. - The BuildOrder object is specified by the URL - Items to allocate are specified as a list called \"items\" with the following options: - bom_item: pk value of a given BomItem object (must match the part associated with this build) - stock_item: pk value of a given StockItem object - quantity: quantity to allocate - output: StockItem (build order output) to allocate stock against (optional)
      Parameters:
      id - (required)
      buildAllocation - (required)
      Returns:
      BuildAllocation
      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
      201 -
    • buildAllocateCreateWithHttpInfo

      public ApiResponse<BuildAllocation> buildAllocateCreateWithHttpInfo(@Nonnull Integer id, @Nonnull BuildAllocation buildAllocation) throws ApiException
      API endpoint to allocate stock items to a build order. - The BuildOrder object is specified by the URL - Items to allocate are specified as a list called \"items\" with the following options: - bom_item: pk value of a given BomItem object (must match the part associated with this build) - stock_item: pk value of a given StockItem object - quantity: quantity to allocate - output: StockItem (build order output) to allocate stock against (optional)
      Parameters:
      id - (required)
      buildAllocation - (required)
      Returns:
      ApiResponse<BuildAllocation>
      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
      201 -
    • buildAllocateCreateAsync

      public okhttp3.Call buildAllocateCreateAsync(@Nonnull Integer id, @Nonnull BuildAllocation buildAllocation, ApiCallback<BuildAllocation> _callback) throws ApiException
      (asynchronously) API endpoint to allocate stock items to a build order. - The BuildOrder object is specified by the URL - Items to allocate are specified as a list called \"items\" with the following options: - bom_item: pk value of a given BomItem object (must match the part associated with this build) - stock_item: pk value of a given StockItem object - quantity: quantity to allocate - output: StockItem (build order output) to allocate stock against (optional)
      Parameters:
      id - (required)
      buildAllocation - (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
      201 -
    • buildAutoAllocateCreateCall

      public okhttp3.Call buildAutoAllocateCreateCall(@Nonnull Integer id, @Nullable BuildAutoAllocation buildAutoAllocation, ApiCallback _callback) throws ApiException
      Build call for buildAutoAllocateCreate
      Parameters:
      id - (required)
      buildAutoAllocation - (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
      201 -
    • buildAutoAllocateCreate

      public BuildAutoAllocation buildAutoAllocateCreate(@Nonnull Integer id, @Nullable BuildAutoAllocation buildAutoAllocation) throws ApiException
      API endpoint for 'automatically' allocating stock against a build order. - Only looks at 'untracked' parts - If stock exists in a single location, easy! - If user decides that stock items are \"fungible\", allocate against multiple stock items - If the user wants to, allocate substitute parts if the primary parts are not available.
      Parameters:
      id - (required)
      buildAutoAllocation - (optional)
      Returns:
      BuildAutoAllocation
      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
      201 -
    • buildAutoAllocateCreateWithHttpInfo

      public ApiResponse<BuildAutoAllocation> buildAutoAllocateCreateWithHttpInfo(@Nonnull Integer id, @Nullable BuildAutoAllocation buildAutoAllocation) throws ApiException
      API endpoint for 'automatically' allocating stock against a build order. - Only looks at 'untracked' parts - If stock exists in a single location, easy! - If user decides that stock items are \"fungible\", allocate against multiple stock items - If the user wants to, allocate substitute parts if the primary parts are not available.
      Parameters:
      id - (required)
      buildAutoAllocation - (optional)
      Returns:
      ApiResponse<BuildAutoAllocation>
      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
      201 -
    • buildAutoAllocateCreateAsync

      public okhttp3.Call buildAutoAllocateCreateAsync(@Nonnull Integer id, @Nullable BuildAutoAllocation buildAutoAllocation, ApiCallback<BuildAutoAllocation> _callback) throws ApiException
      (asynchronously) API endpoint for 'automatically' allocating stock against a build order. - Only looks at 'untracked' parts - If stock exists in a single location, easy! - If user decides that stock items are \"fungible\", allocate against multiple stock items - If the user wants to, allocate substitute parts if the primary parts are not available.
      Parameters:
      id - (required)
      buildAutoAllocation - (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
      201 -
    • buildCancelCreateCall

      public okhttp3.Call buildCancelCreateCall(@Nonnull Integer id, @Nullable BuildCancel buildCancel, ApiCallback _callback) throws ApiException
      Build call for buildCancelCreate
      Parameters:
      id - (required)
      buildCancel - (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
      201 -
    • buildCancelCreate

      public BuildCancel buildCancelCreate(@Nonnull Integer id, @Nullable BuildCancel buildCancel) throws ApiException
      API endpoint for cancelling a BuildOrder.
      Parameters:
      id - (required)
      buildCancel - (optional)
      Returns:
      BuildCancel
      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
      201 -
    • buildCancelCreateWithHttpInfo

      public ApiResponse<BuildCancel> buildCancelCreateWithHttpInfo(@Nonnull Integer id, @Nullable BuildCancel buildCancel) throws ApiException
      API endpoint for cancelling a BuildOrder.
      Parameters:
      id - (required)
      buildCancel - (optional)
      Returns:
      ApiResponse<BuildCancel>
      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
      201 -
    • buildCancelCreateAsync

      public okhttp3.Call buildCancelCreateAsync(@Nonnull Integer id, @Nullable BuildCancel buildCancel, ApiCallback<BuildCancel> _callback) throws ApiException
      (asynchronously) API endpoint for cancelling a BuildOrder.
      Parameters:
      id - (required)
      buildCancel - (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
      201 -
    • buildCompleteCreateCall

      public okhttp3.Call buildCompleteCreateCall(@Nonnull Integer id, @Nonnull BuildOutputComplete buildOutputComplete, ApiCallback _callback) throws ApiException
      Build call for buildCompleteCreate
      Parameters:
      id - (required)
      buildOutputComplete - (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
      201 -
    • buildCompleteCreate

      public BuildOutputComplete buildCompleteCreate(@Nonnull Integer id, @Nonnull BuildOutputComplete buildOutputComplete) throws ApiException
      API endpoint for completing build outputs.
      Parameters:
      id - (required)
      buildOutputComplete - (required)
      Returns:
      BuildOutputComplete
      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
      201 -
    • buildCompleteCreateWithHttpInfo

      public ApiResponse<BuildOutputComplete> buildCompleteCreateWithHttpInfo(@Nonnull Integer id, @Nonnull BuildOutputComplete buildOutputComplete) throws ApiException
      API endpoint for completing build outputs.
      Parameters:
      id - (required)
      buildOutputComplete - (required)
      Returns:
      ApiResponse<BuildOutputComplete>
      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
      201 -
    • buildCompleteCreateAsync

      public okhttp3.Call buildCompleteCreateAsync(@Nonnull Integer id, @Nonnull BuildOutputComplete buildOutputComplete, ApiCallback<BuildOutputComplete> _callback) throws ApiException
      (asynchronously) API endpoint for completing build outputs.
      Parameters:
      id - (required)
      buildOutputComplete - (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
      201 -
    • buildConsumeCreateCall

      public okhttp3.Call buildConsumeCreateCall(@Nonnull Integer id, @Nullable BuildConsume buildConsume, ApiCallback _callback) throws ApiException
      Build call for buildConsumeCreate
      Parameters:
      id - (required)
      buildConsume - (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
      201 -
    • buildConsumeCreate

      public BuildConsume buildConsumeCreate(@Nonnull Integer id, @Nullable BuildConsume buildConsume) throws ApiException
      API endpoint to consume stock against a build order.
      Parameters:
      id - (required)
      buildConsume - (optional)
      Returns:
      BuildConsume
      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
      201 -
    • buildConsumeCreateWithHttpInfo

      public ApiResponse<BuildConsume> buildConsumeCreateWithHttpInfo(@Nonnull Integer id, @Nullable BuildConsume buildConsume) throws ApiException
      API endpoint to consume stock against a build order.
      Parameters:
      id - (required)
      buildConsume - (optional)
      Returns:
      ApiResponse<BuildConsume>
      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
      201 -
    • buildConsumeCreateAsync

      public okhttp3.Call buildConsumeCreateAsync(@Nonnull Integer id, @Nullable BuildConsume buildConsume, ApiCallback<BuildConsume> _callback) throws ApiException
      (asynchronously) API endpoint to consume stock against a build order.
      Parameters:
      id - (required)
      buildConsume - (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
      201 -
    • buildCreateCall

      public okhttp3.Call buildCreateCall(@Nonnull Build build, ApiCallback _callback) throws ApiException
      Build call for buildCreate
      Parameters:
      build - (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
      201 -
    • buildCreate

      public Build buildCreate(@Nonnull Build build) throws ApiException
      API endpoint for accessing a list of Build objects. - GET: Return list of objects (with filters) - POST: Create a new Build object
      Parameters:
      build - (required)
      Returns:
      Build
      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
      201 -
    • buildCreateWithHttpInfo

      public ApiResponse<Build> buildCreateWithHttpInfo(@Nonnull Build build) throws ApiException
      API endpoint for accessing a list of Build objects. - GET: Return list of objects (with filters) - POST: Create a new Build object
      Parameters:
      build - (required)
      Returns:
      ApiResponse<Build>
      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
      201 -
    • buildCreateAsync

      public okhttp3.Call buildCreateAsync(@Nonnull Build build, ApiCallback<Build> _callback) throws ApiException
      (asynchronously) API endpoint for accessing a list of Build objects. - GET: Return list of objects (with filters) - POST: Create a new Build object
      Parameters:
      build - (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
      201 -
    • buildCreateOutputCreateCall

      public okhttp3.Call buildCreateOutputCreateCall(@Nonnull Integer id, @Nonnull BuildOutputCreate buildOutputCreate, ApiCallback _callback) throws ApiException
      Build call for buildCreateOutputCreate
      Parameters:
      id - (required)
      buildOutputCreate - (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
      201 -
    • buildCreateOutputCreate

      public List<StockItem> buildCreateOutputCreate(@Nonnull Integer id, @Nonnull BuildOutputCreate buildOutputCreate) throws ApiException
      API endpoint for creating new build output(s).
      Parameters:
      id - (required)
      buildOutputCreate - (required)
      Returns:
      List<StockItem>
      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
      201 -
    • buildCreateOutputCreateWithHttpInfo

      public ApiResponse<List<StockItem>> buildCreateOutputCreateWithHttpInfo(@Nonnull Integer id, @Nonnull BuildOutputCreate buildOutputCreate) throws ApiException
      API endpoint for creating new build output(s).
      Parameters:
      id - (required)
      buildOutputCreate - (required)
      Returns:
      ApiResponse<List<StockItem>>
      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
      201 -
    • buildCreateOutputCreateAsync

      public okhttp3.Call buildCreateOutputCreateAsync(@Nonnull Integer id, @Nonnull BuildOutputCreate buildOutputCreate, ApiCallback<List<StockItem>> _callback) throws ApiException
      (asynchronously) API endpoint for creating new build output(s).
      Parameters:
      id - (required)
      buildOutputCreate - (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
      201 -
    • buildDeleteOutputsCreateCall

      public okhttp3.Call buildDeleteOutputsCreateCall(@Nonnull Integer id, @Nonnull BuildOutputDelete buildOutputDelete, ApiCallback _callback) throws ApiException
      Build call for buildDeleteOutputsCreate
      Parameters:
      id - (required)
      buildOutputDelete - (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
      201 -
    • buildDeleteOutputsCreate

      public BuildOutputDelete buildDeleteOutputsCreate(@Nonnull Integer id, @Nonnull BuildOutputDelete buildOutputDelete) throws ApiException
      API endpoint for deleting multiple build outputs.
      Parameters:
      id - (required)
      buildOutputDelete - (required)
      Returns:
      BuildOutputDelete
      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
      201 -
    • buildDeleteOutputsCreateWithHttpInfo

      public ApiResponse<BuildOutputDelete> buildDeleteOutputsCreateWithHttpInfo(@Nonnull Integer id, @Nonnull BuildOutputDelete buildOutputDelete) throws ApiException
      API endpoint for deleting multiple build outputs.
      Parameters:
      id - (required)
      buildOutputDelete - (required)
      Returns:
      ApiResponse<BuildOutputDelete>
      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
      201 -
    • buildDeleteOutputsCreateAsync

      public okhttp3.Call buildDeleteOutputsCreateAsync(@Nonnull Integer id, @Nonnull BuildOutputDelete buildOutputDelete, ApiCallback<BuildOutputDelete> _callback) throws ApiException
      (asynchronously) API endpoint for deleting multiple build outputs.
      Parameters:
      id - (required)
      buildOutputDelete - (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
      201 -
    • buildDestroyCall

      public okhttp3.Call buildDestroyCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildDestroy
      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 -
    • buildDestroy

      public void buildDestroy(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a Build object.
      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 -
    • buildDestroyWithHttpInfo

      public ApiResponse<Void> buildDestroyWithHttpInfo(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a Build object.
      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 -
    • buildDestroyAsync

      public okhttp3.Call buildDestroyAsync(@Nonnull Integer id, ApiCallback<Void> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a Build object.
      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 -
    • buildFinishCreateCall

      public okhttp3.Call buildFinishCreateCall(@Nonnull Integer id, @Nullable BuildComplete buildComplete, ApiCallback _callback) throws ApiException
      Build call for buildFinishCreate
      Parameters:
      id - (required)
      buildComplete - (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
      201 -
    • buildFinishCreate

      public BuildComplete buildFinishCreate(@Nonnull Integer id, @Nullable BuildComplete buildComplete) throws ApiException
      API endpoint for marking a build as finished (completed).
      Parameters:
      id - (required)
      buildComplete - (optional)
      Returns:
      BuildComplete
      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
      201 -
    • buildFinishCreateWithHttpInfo

      public ApiResponse<BuildComplete> buildFinishCreateWithHttpInfo(@Nonnull Integer id, @Nullable BuildComplete buildComplete) throws ApiException
      API endpoint for marking a build as finished (completed).
      Parameters:
      id - (required)
      buildComplete - (optional)
      Returns:
      ApiResponse<BuildComplete>
      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
      201 -
    • buildFinishCreateAsync

      public okhttp3.Call buildFinishCreateAsync(@Nonnull Integer id, @Nullable BuildComplete buildComplete, ApiCallback<BuildComplete> _callback) throws ApiException
      (asynchronously) API endpoint for marking a build as finished (completed).
      Parameters:
      id - (required)
      buildComplete - (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
      201 -
    • buildHoldCreateCall

      public okhttp3.Call buildHoldCreateCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildHoldCreate
      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
      201 No response body -
    • buildHoldCreate

      public void buildHoldCreate(@Nonnull Integer id) throws ApiException
      API endpoint for placing a BuildOrder on hold.
      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
      201 No response body -
    • buildHoldCreateWithHttpInfo

      public ApiResponse<Void> buildHoldCreateWithHttpInfo(@Nonnull Integer id) throws ApiException
      API endpoint for placing a BuildOrder on hold.
      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
      201 No response body -
    • buildHoldCreateAsync

      public okhttp3.Call buildHoldCreateAsync(@Nonnull Integer id, ApiCallback<Void> _callback) throws ApiException
      (asynchronously) API endpoint for placing a BuildOrder on hold.
      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
      201 No response body -
    • buildIssueCreateCall

      public okhttp3.Call buildIssueCreateCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildIssueCreate
      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
      201 No response body -
    • buildIssueCreate

      public void buildIssueCreate(@Nonnull Integer id) throws ApiException
      API endpoint for issuing a BuildOrder.
      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
      201 No response body -
    • buildIssueCreateWithHttpInfo

      public ApiResponse<Void> buildIssueCreateWithHttpInfo(@Nonnull Integer id) throws ApiException
      API endpoint for issuing a BuildOrder.
      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
      201 No response body -
    • buildIssueCreateAsync

      public okhttp3.Call buildIssueCreateAsync(@Nonnull Integer id, ApiCallback<Void> _callback) throws ApiException
      (asynchronously) API endpoint for issuing a BuildOrder.
      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
      201 No response body -
    • buildItemBulkDestroyCall

      public okhttp3.Call buildItemBulkDestroyCall(@Nonnull BulkRequest bulkRequest, ApiCallback _callback) throws ApiException
      Build call for buildItemBulkDestroy
      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 -
    • buildItemBulkDestroy

      public void buildItemBulkDestroy(@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 -
    • buildItemBulkDestroyWithHttpInfo

      public ApiResponse<Void> buildItemBulkDestroyWithHttpInfo(@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 -
    • buildItemBulkDestroyAsync

      public okhttp3.Call buildItemBulkDestroyAsync(@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 -
    • buildItemCreateCall

      public okhttp3.Call buildItemCreateCall(@Nonnull BuildItem buildItem, ApiCallback _callback) throws ApiException
      Build call for buildItemCreate
      Parameters:
      buildItem - (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
      201 -
    • buildItemCreate

      public BuildItem buildItemCreate(@Nonnull BuildItem buildItem) throws ApiException
      API endpoint for accessing a list of BuildItem objects. - GET: Return list of objects - POST: Create a new BuildItem object
      Parameters:
      buildItem - (required)
      Returns:
      BuildItem
      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
      201 -
    • buildItemCreateWithHttpInfo

      public ApiResponse<BuildItem> buildItemCreateWithHttpInfo(@Nonnull BuildItem buildItem) throws ApiException
      API endpoint for accessing a list of BuildItem objects. - GET: Return list of objects - POST: Create a new BuildItem object
      Parameters:
      buildItem - (required)
      Returns:
      ApiResponse<BuildItem>
      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
      201 -
    • buildItemCreateAsync

      public okhttp3.Call buildItemCreateAsync(@Nonnull BuildItem buildItem, ApiCallback<BuildItem> _callback) throws ApiException
      (asynchronously) API endpoint for accessing a list of BuildItem objects. - GET: Return list of objects - POST: Create a new BuildItem object
      Parameters:
      buildItem - (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
      201 -
    • buildItemDestroyCall

      public okhttp3.Call buildItemDestroyCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildItemDestroy
      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 -
    • buildItemDestroy

      public void buildItemDestroy(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a BuildItem object.
      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 -
    • buildItemDestroyWithHttpInfo

      public ApiResponse<Void> buildItemDestroyWithHttpInfo(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a BuildItem object.
      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 -
    • buildItemDestroyAsync

      public okhttp3.Call buildItemDestroyAsync(@Nonnull Integer id, ApiCallback<Void> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a BuildItem object.
      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 -
    • buildItemListCall

      public okhttp3.Call buildItemListCall(@Nonnull Integer limit, @Nullable Integer build, @Nullable Integer buildLine, @Nullable Boolean includeVariants, @Nullable Integer installInto, @Nullable Integer location, @Nullable Integer offset, @Nullable String ordering, @Nullable Integer output, @Nullable Integer part, @Nullable String search, @Nullable Integer stockItem, @Nullable Boolean tracked, ApiCallback _callback) throws ApiException
      Build call for buildItemList
      Parameters:
      limit - Number of results to return per page. (required)
      build - Build Order (optional)
      buildLine - (optional)
      includeVariants - Include Variants (optional)
      installInto - (optional)
      location - Location (optional)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. Possible fields: part, sku, quantity, location, reference, IPN. (optional)
      output - Filter by output stock item ID. Use 'null' to find uninstalled build items. (optional)
      part - Part (optional)
      search - A search term. Searched fields: build_line__bom_item__reference, stock_item__part__IPN, stock_item__part__name, stock_item__supplier_part__SKU. (optional)
      stockItem - (optional)
      tracked - Tracked (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 -
    • buildItemList

      public PaginatedBuildItemList buildItemList(@Nonnull Integer limit, @Nullable Integer build, @Nullable Integer buildLine, @Nullable Boolean includeVariants, @Nullable Integer installInto, @Nullable Integer location, @Nullable Integer offset, @Nullable String ordering, @Nullable Integer output, @Nullable Integer part, @Nullable String search, @Nullable Integer stockItem, @Nullable Boolean tracked) throws ApiException
      Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      build - Build Order (optional)
      buildLine - (optional)
      includeVariants - Include Variants (optional)
      installInto - (optional)
      location - Location (optional)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. Possible fields: part, sku, quantity, location, reference, IPN. (optional)
      output - Filter by output stock item ID. Use 'null' to find uninstalled build items. (optional)
      part - Part (optional)
      search - A search term. Searched fields: build_line__bom_item__reference, stock_item__part__IPN, stock_item__part__name, stock_item__supplier_part__SKU. (optional)
      stockItem - (optional)
      tracked - Tracked (optional)
      Returns:
      PaginatedBuildItemList
      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 -
    • buildItemListWithHttpInfo

      public ApiResponse<PaginatedBuildItemList> buildItemListWithHttpInfo(@Nonnull Integer limit, @Nullable Integer build, @Nullable Integer buildLine, @Nullable Boolean includeVariants, @Nullable Integer installInto, @Nullable Integer location, @Nullable Integer offset, @Nullable String ordering, @Nullable Integer output, @Nullable Integer part, @Nullable String search, @Nullable Integer stockItem, @Nullable Boolean tracked) throws ApiException
      Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      build - Build Order (optional)
      buildLine - (optional)
      includeVariants - Include Variants (optional)
      installInto - (optional)
      location - Location (optional)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. Possible fields: part, sku, quantity, location, reference, IPN. (optional)
      output - Filter by output stock item ID. Use 'null' to find uninstalled build items. (optional)
      part - Part (optional)
      search - A search term. Searched fields: build_line__bom_item__reference, stock_item__part__IPN, stock_item__part__name, stock_item__supplier_part__SKU. (optional)
      stockItem - (optional)
      tracked - Tracked (optional)
      Returns:
      ApiResponse<PaginatedBuildItemList>
      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 -
    • buildItemListAsync

      public okhttp3.Call buildItemListAsync(@Nonnull Integer limit, @Nullable Integer build, @Nullable Integer buildLine, @Nullable Boolean includeVariants, @Nullable Integer installInto, @Nullable Integer location, @Nullable Integer offset, @Nullable String ordering, @Nullable Integer output, @Nullable Integer part, @Nullable String search, @Nullable Integer stockItem, @Nullable Boolean tracked, ApiCallback<PaginatedBuildItemList> _callback) throws ApiException
      (asynchronously) Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      build - Build Order (optional)
      buildLine - (optional)
      includeVariants - Include Variants (optional)
      installInto - (optional)
      location - Location (optional)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. Possible fields: part, sku, quantity, location, reference, IPN. (optional)
      output - Filter by output stock item ID. Use 'null' to find uninstalled build items. (optional)
      part - Part (optional)
      search - A search term. Searched fields: build_line__bom_item__reference, stock_item__part__IPN, stock_item__part__name, stock_item__supplier_part__SKU. (optional)
      stockItem - (optional)
      tracked - Tracked (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 -
    • buildItemMetadataPartialUpdateCall

      public okhttp3.Call buildItemMetadataPartialUpdateCall(@Nonnull Integer id, @Nullable PatchedMetadata patchedMetadata, ApiCallback _callback) throws ApiException
      Build call for buildItemMetadataPartialUpdate
      Parameters:
      id - (required)
      patchedMetadata - (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 -
    • buildItemMetadataPartialUpdate

      public Metadata buildItemMetadataPartialUpdate(@Nonnull Integer id, @Nullable PatchedMetadata patchedMetadata) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      patchedMetadata - (optional)
      Returns:
      Metadata
      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 -
    • buildItemMetadataPartialUpdateWithHttpInfo

      public ApiResponse<Metadata> buildItemMetadataPartialUpdateWithHttpInfo(@Nonnull Integer id, @Nullable PatchedMetadata patchedMetadata) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      patchedMetadata - (optional)
      Returns:
      ApiResponse<Metadata>
      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 -
    • buildItemMetadataPartialUpdateAsync

      public okhttp3.Call buildItemMetadataPartialUpdateAsync(@Nonnull Integer id, @Nullable PatchedMetadata patchedMetadata, ApiCallback<Metadata> _callback) throws ApiException
      (asynchronously) Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      patchedMetadata - (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 -
    • buildItemMetadataRetrieveCall

      public okhttp3.Call buildItemMetadataRetrieveCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildItemMetadataRetrieve
      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 -
    • buildItemMetadataRetrieve

      public Metadata buildItemMetadataRetrieve(@Nonnull Integer id) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      Returns:
      Metadata
      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 -
    • buildItemMetadataRetrieveWithHttpInfo

      public ApiResponse<Metadata> buildItemMetadataRetrieveWithHttpInfo(@Nonnull Integer id) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      Returns:
      ApiResponse<Metadata>
      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 -
    • buildItemMetadataRetrieveAsync

      public okhttp3.Call buildItemMetadataRetrieveAsync(@Nonnull Integer id, ApiCallback<Metadata> _callback) throws ApiException
      (asynchronously) Generic API endpoint for reading and editing metadata for a model.
      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 -
    • buildItemMetadataUpdateCall

      public okhttp3.Call buildItemMetadataUpdateCall(@Nonnull Integer id, @Nonnull Metadata metadata, ApiCallback _callback) throws ApiException
      Build call for buildItemMetadataUpdate
      Parameters:
      id - (required)
      metadata - (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 -
    • buildItemMetadataUpdate

      public Metadata buildItemMetadataUpdate(@Nonnull Integer id, @Nonnull Metadata metadata) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      metadata - (required)
      Returns:
      Metadata
      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 -
    • buildItemMetadataUpdateWithHttpInfo

      public ApiResponse<Metadata> buildItemMetadataUpdateWithHttpInfo(@Nonnull Integer id, @Nonnull Metadata metadata) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      metadata - (required)
      Returns:
      ApiResponse<Metadata>
      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 -
    • buildItemMetadataUpdateAsync

      public okhttp3.Call buildItemMetadataUpdateAsync(@Nonnull Integer id, @Nonnull Metadata metadata, ApiCallback<Metadata> _callback) throws ApiException
      (asynchronously) Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      metadata - (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 -
    • buildItemPartialUpdateCall

      public okhttp3.Call buildItemPartialUpdateCall(@Nonnull Integer id, @Nullable PatchedBuildItem patchedBuildItem, ApiCallback _callback) throws ApiException
      Build call for buildItemPartialUpdate
      Parameters:
      id - (required)
      patchedBuildItem - (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 -
    • buildItemPartialUpdate

      public BuildItem buildItemPartialUpdate(@Nonnull Integer id, @Nullable PatchedBuildItem patchedBuildItem) throws ApiException
      API endpoint for detail view of a BuildItem object.
      Parameters:
      id - (required)
      patchedBuildItem - (optional)
      Returns:
      BuildItem
      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 -
    • buildItemPartialUpdateWithHttpInfo

      public ApiResponse<BuildItem> buildItemPartialUpdateWithHttpInfo(@Nonnull Integer id, @Nullable PatchedBuildItem patchedBuildItem) throws ApiException
      API endpoint for detail view of a BuildItem object.
      Parameters:
      id - (required)
      patchedBuildItem - (optional)
      Returns:
      ApiResponse<BuildItem>
      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 -
    • buildItemPartialUpdateAsync

      public okhttp3.Call buildItemPartialUpdateAsync(@Nonnull Integer id, @Nullable PatchedBuildItem patchedBuildItem, ApiCallback<BuildItem> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a BuildItem object.
      Parameters:
      id - (required)
      patchedBuildItem - (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 -
    • buildItemRetrieveCall

      public okhttp3.Call buildItemRetrieveCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildItemRetrieve
      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 -
    • buildItemRetrieve

      public BuildItem buildItemRetrieve(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a BuildItem object.
      Parameters:
      id - (required)
      Returns:
      BuildItem
      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 -
    • buildItemRetrieveWithHttpInfo

      public ApiResponse<BuildItem> buildItemRetrieveWithHttpInfo(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a BuildItem object.
      Parameters:
      id - (required)
      Returns:
      ApiResponse<BuildItem>
      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 -
    • buildItemRetrieveAsync

      public okhttp3.Call buildItemRetrieveAsync(@Nonnull Integer id, ApiCallback<BuildItem> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a BuildItem object.
      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 -
    • buildItemUpdateCall

      public okhttp3.Call buildItemUpdateCall(@Nonnull Integer id, @Nonnull BuildItem buildItem, ApiCallback _callback) throws ApiException
      Build call for buildItemUpdate
      Parameters:
      id - (required)
      buildItem - (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 -
    • buildItemUpdate

      public BuildItem buildItemUpdate(@Nonnull Integer id, @Nonnull BuildItem buildItem) throws ApiException
      API endpoint for detail view of a BuildItem object.
      Parameters:
      id - (required)
      buildItem - (required)
      Returns:
      BuildItem
      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 -
    • buildItemUpdateWithHttpInfo

      public ApiResponse<BuildItem> buildItemUpdateWithHttpInfo(@Nonnull Integer id, @Nonnull BuildItem buildItem) throws ApiException
      API endpoint for detail view of a BuildItem object.
      Parameters:
      id - (required)
      buildItem - (required)
      Returns:
      ApiResponse<BuildItem>
      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 -
    • buildItemUpdateAsync

      public okhttp3.Call buildItemUpdateAsync(@Nonnull Integer id, @Nonnull BuildItem buildItem, ApiCallback<BuildItem> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a BuildItem object.
      Parameters:
      id - (required)
      buildItem - (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 -
    • buildLineCreateCall

      public okhttp3.Call buildLineCreateCall(@Nonnull BuildLine buildLine, ApiCallback _callback) throws ApiException
      Build call for buildLineCreate
      Parameters:
      buildLine - (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
      201 -
    • buildLineCreate

      public BuildLine buildLineCreate(@Nonnull BuildLine buildLine) throws ApiException
      API endpoint for accessing a list of BuildLine objects.
      Parameters:
      buildLine - (required)
      Returns:
      BuildLine
      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
      201 -
    • buildLineCreateWithHttpInfo

      public ApiResponse<BuildLine> buildLineCreateWithHttpInfo(@Nonnull BuildLine buildLine) throws ApiException
      API endpoint for accessing a list of BuildLine objects.
      Parameters:
      buildLine - (required)
      Returns:
      ApiResponse<BuildLine>
      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
      201 -
    • buildLineCreateAsync

      public okhttp3.Call buildLineCreateAsync(@Nonnull BuildLine buildLine, ApiCallback<BuildLine> _callback) throws ApiException
      (asynchronously) API endpoint for accessing a list of BuildLine objects.
      Parameters:
      buildLine - (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
      201 -
    • buildLineDestroyCall

      public okhttp3.Call buildLineDestroyCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildLineDestroy
      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 -
    • buildLineDestroy

      public void buildLineDestroy(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a BuildLine object.
      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 -
    • buildLineDestroyWithHttpInfo

      public ApiResponse<Void> buildLineDestroyWithHttpInfo(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a BuildLine object.
      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 -
    • buildLineDestroyAsync

      public okhttp3.Call buildLineDestroyAsync(@Nonnull Integer id, ApiCallback<Void> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a BuildLine object.
      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 -
    • buildLineListCall

      public okhttp3.Call buildLineListCall(@Nonnull Integer limit, @Nullable Boolean allocated, @Nullable Boolean assembly, @Nullable Boolean available, @Nullable Integer bomItem, @Nullable Integer build, @Nullable Boolean consumable, @Nullable Boolean consumed, @Nullable Integer offset, @Nullable Boolean optional, @Nullable Boolean orderOutstanding, @Nullable String ordering, @Nullable Integer part, @Nullable String search, @Nullable Boolean testable, @Nullable Boolean tracked, ApiCallback _callback) throws ApiException
      Build call for buildLineList
      Parameters:
      limit - Number of results to return per page. (required)
      allocated - Allocated (optional)
      assembly - Assembly (optional)
      available - Available (optional)
      bomItem - (optional)
      build - (optional)
      consumable - Consumable (optional)
      consumed - Consumed (optional)
      offset - The initial index from which to return the results. (optional)
      optional - Optional (optional)
      orderOutstanding - Order Outstanding (optional)
      ordering - Which field to use when ordering the results. Possible fields: part, allocated, consumed, reference, quantity, consumable, optional, unit_quantity, available_stock, trackable, allow_variants, inherited. (optional)
      part - Part (optional)
      search - A search term. Searched fields: bom_item__reference, bom_item__sub_part__IPN, bom_item__sub_part__description, bom_item__sub_part__name. (optional)
      testable - Testable (optional)
      tracked - Tracked (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 -
    • buildLineList

      public PaginatedBuildLineList buildLineList(@Nonnull Integer limit, @Nullable Boolean allocated, @Nullable Boolean assembly, @Nullable Boolean available, @Nullable Integer bomItem, @Nullable Integer build, @Nullable Boolean consumable, @Nullable Boolean consumed, @Nullable Integer offset, @Nullable Boolean optional, @Nullable Boolean orderOutstanding, @Nullable String ordering, @Nullable Integer part, @Nullable String search, @Nullable Boolean testable, @Nullable Boolean tracked) throws ApiException
      Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      allocated - Allocated (optional)
      assembly - Assembly (optional)
      available - Available (optional)
      bomItem - (optional)
      build - (optional)
      consumable - Consumable (optional)
      consumed - Consumed (optional)
      offset - The initial index from which to return the results. (optional)
      optional - Optional (optional)
      orderOutstanding - Order Outstanding (optional)
      ordering - Which field to use when ordering the results. Possible fields: part, allocated, consumed, reference, quantity, consumable, optional, unit_quantity, available_stock, trackable, allow_variants, inherited. (optional)
      part - Part (optional)
      search - A search term. Searched fields: bom_item__reference, bom_item__sub_part__IPN, bom_item__sub_part__description, bom_item__sub_part__name. (optional)
      testable - Testable (optional)
      tracked - Tracked (optional)
      Returns:
      PaginatedBuildLineList
      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 -
    • buildLineListWithHttpInfo

      public ApiResponse<PaginatedBuildLineList> buildLineListWithHttpInfo(@Nonnull Integer limit, @Nullable Boolean allocated, @Nullable Boolean assembly, @Nullable Boolean available, @Nullable Integer bomItem, @Nullable Integer build, @Nullable Boolean consumable, @Nullable Boolean consumed, @Nullable Integer offset, @Nullable Boolean optional, @Nullable Boolean orderOutstanding, @Nullable String ordering, @Nullable Integer part, @Nullable String search, @Nullable Boolean testable, @Nullable Boolean tracked) throws ApiException
      Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      allocated - Allocated (optional)
      assembly - Assembly (optional)
      available - Available (optional)
      bomItem - (optional)
      build - (optional)
      consumable - Consumable (optional)
      consumed - Consumed (optional)
      offset - The initial index from which to return the results. (optional)
      optional - Optional (optional)
      orderOutstanding - Order Outstanding (optional)
      ordering - Which field to use when ordering the results. Possible fields: part, allocated, consumed, reference, quantity, consumable, optional, unit_quantity, available_stock, trackable, allow_variants, inherited. (optional)
      part - Part (optional)
      search - A search term. Searched fields: bom_item__reference, bom_item__sub_part__IPN, bom_item__sub_part__description, bom_item__sub_part__name. (optional)
      testable - Testable (optional)
      tracked - Tracked (optional)
      Returns:
      ApiResponse<PaginatedBuildLineList>
      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 -
    • buildLineListAsync

      public okhttp3.Call buildLineListAsync(@Nonnull Integer limit, @Nullable Boolean allocated, @Nullable Boolean assembly, @Nullable Boolean available, @Nullable Integer bomItem, @Nullable Integer build, @Nullable Boolean consumable, @Nullable Boolean consumed, @Nullable Integer offset, @Nullable Boolean optional, @Nullable Boolean orderOutstanding, @Nullable String ordering, @Nullable Integer part, @Nullable String search, @Nullable Boolean testable, @Nullable Boolean tracked, ApiCallback<PaginatedBuildLineList> _callback) throws ApiException
      (asynchronously) Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      allocated - Allocated (optional)
      assembly - Assembly (optional)
      available - Available (optional)
      bomItem - (optional)
      build - (optional)
      consumable - Consumable (optional)
      consumed - Consumed (optional)
      offset - The initial index from which to return the results. (optional)
      optional - Optional (optional)
      orderOutstanding - Order Outstanding (optional)
      ordering - Which field to use when ordering the results. Possible fields: part, allocated, consumed, reference, quantity, consumable, optional, unit_quantity, available_stock, trackable, allow_variants, inherited. (optional)
      part - Part (optional)
      search - A search term. Searched fields: bom_item__reference, bom_item__sub_part__IPN, bom_item__sub_part__description, bom_item__sub_part__name. (optional)
      testable - Testable (optional)
      tracked - Tracked (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 -
    • buildLinePartialUpdateCall

      public okhttp3.Call buildLinePartialUpdateCall(@Nonnull Integer id, @Nullable PatchedBuildLine patchedBuildLine, ApiCallback _callback) throws ApiException
      Build call for buildLinePartialUpdate
      Parameters:
      id - (required)
      patchedBuildLine - (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 -
    • buildLinePartialUpdate

      public BuildLine buildLinePartialUpdate(@Nonnull Integer id, @Nullable PatchedBuildLine patchedBuildLine) throws ApiException
      API endpoint for detail view of a BuildLine object.
      Parameters:
      id - (required)
      patchedBuildLine - (optional)
      Returns:
      BuildLine
      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 -
    • buildLinePartialUpdateWithHttpInfo

      public ApiResponse<BuildLine> buildLinePartialUpdateWithHttpInfo(@Nonnull Integer id, @Nullable PatchedBuildLine patchedBuildLine) throws ApiException
      API endpoint for detail view of a BuildLine object.
      Parameters:
      id - (required)
      patchedBuildLine - (optional)
      Returns:
      ApiResponse<BuildLine>
      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 -
    • buildLinePartialUpdateAsync

      public okhttp3.Call buildLinePartialUpdateAsync(@Nonnull Integer id, @Nullable PatchedBuildLine patchedBuildLine, ApiCallback<BuildLine> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a BuildLine object.
      Parameters:
      id - (required)
      patchedBuildLine - (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 -
    • buildLineRetrieveCall

      public okhttp3.Call buildLineRetrieveCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildLineRetrieve
      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 -
    • buildLineRetrieve

      public BuildLine buildLineRetrieve(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a BuildLine object.
      Parameters:
      id - (required)
      Returns:
      BuildLine
      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 -
    • buildLineRetrieveWithHttpInfo

      public ApiResponse<BuildLine> buildLineRetrieveWithHttpInfo(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a BuildLine object.
      Parameters:
      id - (required)
      Returns:
      ApiResponse<BuildLine>
      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 -
    • buildLineRetrieveAsync

      public okhttp3.Call buildLineRetrieveAsync(@Nonnull Integer id, ApiCallback<BuildLine> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a BuildLine object.
      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 -
    • buildLineUpdateCall

      public okhttp3.Call buildLineUpdateCall(@Nonnull Integer id, @Nonnull BuildLine buildLine, ApiCallback _callback) throws ApiException
      Build call for buildLineUpdate
      Parameters:
      id - (required)
      buildLine - (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 -
    • buildLineUpdate

      public BuildLine buildLineUpdate(@Nonnull Integer id, @Nonnull BuildLine buildLine) throws ApiException
      API endpoint for detail view of a BuildLine object.
      Parameters:
      id - (required)
      buildLine - (required)
      Returns:
      BuildLine
      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 -
    • buildLineUpdateWithHttpInfo

      public ApiResponse<BuildLine> buildLineUpdateWithHttpInfo(@Nonnull Integer id, @Nonnull BuildLine buildLine) throws ApiException
      API endpoint for detail view of a BuildLine object.
      Parameters:
      id - (required)
      buildLine - (required)
      Returns:
      ApiResponse<BuildLine>
      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 -
    • buildLineUpdateAsync

      public okhttp3.Call buildLineUpdateAsync(@Nonnull Integer id, @Nonnull BuildLine buildLine, ApiCallback<BuildLine> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a BuildLine object.
      Parameters:
      id - (required)
      buildLine - (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 -
    • buildListCall

      public okhttp3.Call buildListCall(@Nonnull Integer limit, @Nullable Boolean active, @Nullable Integer ancestor, @Nullable Integer assignedTo, @Nullable Boolean assignedToMe, @Nullable Integer category, @Nullable LocalDate completedAfter, @Nullable LocalDate completedBefore, @Nullable LocalDate createdAfter, @Nullable LocalDate createdBefore, @Nullable Integer excludeTree, @Nullable Boolean external, @Nullable Boolean hasProjectCode, @Nullable Boolean hasStartDate, @Nullable Boolean hasTargetDate, @Nullable Boolean includeVariants, @Nullable Integer issuedBy, @Nullable LocalDate maxDate, @Nullable LocalDate minDate, @Nullable Integer offset, @Nullable String ordering, @Nullable Boolean outstanding, @Nullable Boolean overdue, @Nullable Integer parent, @Nullable Integer part, @Nullable Integer projectCode, @Nullable String reference, @Nullable Integer salesOrder, @Nullable String search, @Nullable LocalDate startDateAfter, @Nullable LocalDate startDateBefore, @Nullable Integer status, @Nullable LocalDate targetDateAfter, @Nullable LocalDate targetDateBefore, ApiCallback _callback) throws ApiException
      Build call for buildList
      Parameters:
      limit - Number of results to return per page. (required)
      active - Build is active (optional)
      ancestor - Ancestor Build (optional)
      assignedTo - Assigned To (optional)
      assignedToMe - Assigned to me (optional)
      category - Category (optional)
      completedAfter - Completed after (optional)
      completedBefore - Completed before (optional)
      createdAfter - Created after (optional)
      createdBefore - Created before (optional)
      excludeTree - Exclude Tree (optional)
      external - (optional)
      hasProjectCode - has_project_code (optional)
      hasStartDate - Has start date (optional)
      hasTargetDate - Has target date (optional)
      includeVariants - Include Variants (optional)
      issuedBy - (optional)
      maxDate - Max Date (optional)
      minDate - Min Date (optional)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. Possible fields: reference, part__name, status, creation_date, start_date, target_date, completion_date, quantity, completed, issued_by, responsible, project_code, priority, level, external. (optional)
      outstanding - Build is outstanding (optional)
      overdue - Build is overdue (optional)
      parent - Parent Build (optional)
      part - Part (optional)
      projectCode - (optional)
      reference - Filter by exact reference (optional)
      salesOrder - (optional)
      search - A search term. Searched fields: part__IPN, part__description, part__name, priority, project_code__code, reference, title. (optional)
      startDateAfter - Start date after (optional)
      startDateBefore - Start date before (optional)
      status - Order Status (optional)
      targetDateAfter - Target date after (optional)
      targetDateBefore - Target date before (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 -
    • buildList

      public PaginatedBuildList buildList(@Nonnull Integer limit, @Nullable Boolean active, @Nullable Integer ancestor, @Nullable Integer assignedTo, @Nullable Boolean assignedToMe, @Nullable Integer category, @Nullable LocalDate completedAfter, @Nullable LocalDate completedBefore, @Nullable LocalDate createdAfter, @Nullable LocalDate createdBefore, @Nullable Integer excludeTree, @Nullable Boolean external, @Nullable Boolean hasProjectCode, @Nullable Boolean hasStartDate, @Nullable Boolean hasTargetDate, @Nullable Boolean includeVariants, @Nullable Integer issuedBy, @Nullable LocalDate maxDate, @Nullable LocalDate minDate, @Nullable Integer offset, @Nullable String ordering, @Nullable Boolean outstanding, @Nullable Boolean overdue, @Nullable Integer parent, @Nullable Integer part, @Nullable Integer projectCode, @Nullable String reference, @Nullable Integer salesOrder, @Nullable String search, @Nullable LocalDate startDateAfter, @Nullable LocalDate startDateBefore, @Nullable Integer status, @Nullable LocalDate targetDateAfter, @Nullable LocalDate targetDateBefore) throws ApiException
      Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      active - Build is active (optional)
      ancestor - Ancestor Build (optional)
      assignedTo - Assigned To (optional)
      assignedToMe - Assigned to me (optional)
      category - Category (optional)
      completedAfter - Completed after (optional)
      completedBefore - Completed before (optional)
      createdAfter - Created after (optional)
      createdBefore - Created before (optional)
      excludeTree - Exclude Tree (optional)
      external - (optional)
      hasProjectCode - has_project_code (optional)
      hasStartDate - Has start date (optional)
      hasTargetDate - Has target date (optional)
      includeVariants - Include Variants (optional)
      issuedBy - (optional)
      maxDate - Max Date (optional)
      minDate - Min Date (optional)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. Possible fields: reference, part__name, status, creation_date, start_date, target_date, completion_date, quantity, completed, issued_by, responsible, project_code, priority, level, external. (optional)
      outstanding - Build is outstanding (optional)
      overdue - Build is overdue (optional)
      parent - Parent Build (optional)
      part - Part (optional)
      projectCode - (optional)
      reference - Filter by exact reference (optional)
      salesOrder - (optional)
      search - A search term. Searched fields: part__IPN, part__description, part__name, priority, project_code__code, reference, title. (optional)
      startDateAfter - Start date after (optional)
      startDateBefore - Start date before (optional)
      status - Order Status (optional)
      targetDateAfter - Target date after (optional)
      targetDateBefore - Target date before (optional)
      Returns:
      PaginatedBuildList
      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 -
    • buildListWithHttpInfo

      public ApiResponse<PaginatedBuildList> buildListWithHttpInfo(@Nonnull Integer limit, @Nullable Boolean active, @Nullable Integer ancestor, @Nullable Integer assignedTo, @Nullable Boolean assignedToMe, @Nullable Integer category, @Nullable LocalDate completedAfter, @Nullable LocalDate completedBefore, @Nullable LocalDate createdAfter, @Nullable LocalDate createdBefore, @Nullable Integer excludeTree, @Nullable Boolean external, @Nullable Boolean hasProjectCode, @Nullable Boolean hasStartDate, @Nullable Boolean hasTargetDate, @Nullable Boolean includeVariants, @Nullable Integer issuedBy, @Nullable LocalDate maxDate, @Nullable LocalDate minDate, @Nullable Integer offset, @Nullable String ordering, @Nullable Boolean outstanding, @Nullable Boolean overdue, @Nullable Integer parent, @Nullable Integer part, @Nullable Integer projectCode, @Nullable String reference, @Nullable Integer salesOrder, @Nullable String search, @Nullable LocalDate startDateAfter, @Nullable LocalDate startDateBefore, @Nullable Integer status, @Nullable LocalDate targetDateAfter, @Nullable LocalDate targetDateBefore) throws ApiException
      Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      active - Build is active (optional)
      ancestor - Ancestor Build (optional)
      assignedTo - Assigned To (optional)
      assignedToMe - Assigned to me (optional)
      category - Category (optional)
      completedAfter - Completed after (optional)
      completedBefore - Completed before (optional)
      createdAfter - Created after (optional)
      createdBefore - Created before (optional)
      excludeTree - Exclude Tree (optional)
      external - (optional)
      hasProjectCode - has_project_code (optional)
      hasStartDate - Has start date (optional)
      hasTargetDate - Has target date (optional)
      includeVariants - Include Variants (optional)
      issuedBy - (optional)
      maxDate - Max Date (optional)
      minDate - Min Date (optional)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. Possible fields: reference, part__name, status, creation_date, start_date, target_date, completion_date, quantity, completed, issued_by, responsible, project_code, priority, level, external. (optional)
      outstanding - Build is outstanding (optional)
      overdue - Build is overdue (optional)
      parent - Parent Build (optional)
      part - Part (optional)
      projectCode - (optional)
      reference - Filter by exact reference (optional)
      salesOrder - (optional)
      search - A search term. Searched fields: part__IPN, part__description, part__name, priority, project_code__code, reference, title. (optional)
      startDateAfter - Start date after (optional)
      startDateBefore - Start date before (optional)
      status - Order Status (optional)
      targetDateAfter - Target date after (optional)
      targetDateBefore - Target date before (optional)
      Returns:
      ApiResponse<PaginatedBuildList>
      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 -
    • buildListAsync

      public okhttp3.Call buildListAsync(@Nonnull Integer limit, @Nullable Boolean active, @Nullable Integer ancestor, @Nullable Integer assignedTo, @Nullable Boolean assignedToMe, @Nullable Integer category, @Nullable LocalDate completedAfter, @Nullable LocalDate completedBefore, @Nullable LocalDate createdAfter, @Nullable LocalDate createdBefore, @Nullable Integer excludeTree, @Nullable Boolean external, @Nullable Boolean hasProjectCode, @Nullable Boolean hasStartDate, @Nullable Boolean hasTargetDate, @Nullable Boolean includeVariants, @Nullable Integer issuedBy, @Nullable LocalDate maxDate, @Nullable LocalDate minDate, @Nullable Integer offset, @Nullable String ordering, @Nullable Boolean outstanding, @Nullable Boolean overdue, @Nullable Integer parent, @Nullable Integer part, @Nullable Integer projectCode, @Nullable String reference, @Nullable Integer salesOrder, @Nullable String search, @Nullable LocalDate startDateAfter, @Nullable LocalDate startDateBefore, @Nullable Integer status, @Nullable LocalDate targetDateAfter, @Nullable LocalDate targetDateBefore, ApiCallback<PaginatedBuildList> _callback) throws ApiException
      (asynchronously) Override the GET method to determine export options.
      Parameters:
      limit - Number of results to return per page. (required)
      active - Build is active (optional)
      ancestor - Ancestor Build (optional)
      assignedTo - Assigned To (optional)
      assignedToMe - Assigned to me (optional)
      category - Category (optional)
      completedAfter - Completed after (optional)
      completedBefore - Completed before (optional)
      createdAfter - Created after (optional)
      createdBefore - Created before (optional)
      excludeTree - Exclude Tree (optional)
      external - (optional)
      hasProjectCode - has_project_code (optional)
      hasStartDate - Has start date (optional)
      hasTargetDate - Has target date (optional)
      includeVariants - Include Variants (optional)
      issuedBy - (optional)
      maxDate - Max Date (optional)
      minDate - Min Date (optional)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. Possible fields: reference, part__name, status, creation_date, start_date, target_date, completion_date, quantity, completed, issued_by, responsible, project_code, priority, level, external. (optional)
      outstanding - Build is outstanding (optional)
      overdue - Build is overdue (optional)
      parent - Parent Build (optional)
      part - Part (optional)
      projectCode - (optional)
      reference - Filter by exact reference (optional)
      salesOrder - (optional)
      search - A search term. Searched fields: part__IPN, part__description, part__name, priority, project_code__code, reference, title. (optional)
      startDateAfter - Start date after (optional)
      startDateBefore - Start date before (optional)
      status - Order Status (optional)
      targetDateAfter - Target date after (optional)
      targetDateBefore - Target date before (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 -
    • buildMetadataPartialUpdateCall

      public okhttp3.Call buildMetadataPartialUpdateCall(@Nonnull Integer id, @Nullable PatchedMetadata patchedMetadata, ApiCallback _callback) throws ApiException
      Build call for buildMetadataPartialUpdate
      Parameters:
      id - (required)
      patchedMetadata - (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 -
    • buildMetadataPartialUpdate

      public Metadata buildMetadataPartialUpdate(@Nonnull Integer id, @Nullable PatchedMetadata patchedMetadata) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      patchedMetadata - (optional)
      Returns:
      Metadata
      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 -
    • buildMetadataPartialUpdateWithHttpInfo

      public ApiResponse<Metadata> buildMetadataPartialUpdateWithHttpInfo(@Nonnull Integer id, @Nullable PatchedMetadata patchedMetadata) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      patchedMetadata - (optional)
      Returns:
      ApiResponse<Metadata>
      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 -
    • buildMetadataPartialUpdateAsync

      public okhttp3.Call buildMetadataPartialUpdateAsync(@Nonnull Integer id, @Nullable PatchedMetadata patchedMetadata, ApiCallback<Metadata> _callback) throws ApiException
      (asynchronously) Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      patchedMetadata - (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 -
    • buildMetadataRetrieveCall

      public okhttp3.Call buildMetadataRetrieveCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildMetadataRetrieve
      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 -
    • buildMetadataRetrieve

      public Metadata buildMetadataRetrieve(@Nonnull Integer id) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      Returns:
      Metadata
      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 -
    • buildMetadataRetrieveWithHttpInfo

      public ApiResponse<Metadata> buildMetadataRetrieveWithHttpInfo(@Nonnull Integer id) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      Returns:
      ApiResponse<Metadata>
      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 -
    • buildMetadataRetrieveAsync

      public okhttp3.Call buildMetadataRetrieveAsync(@Nonnull Integer id, ApiCallback<Metadata> _callback) throws ApiException
      (asynchronously) Generic API endpoint for reading and editing metadata for a model.
      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 -
    • buildMetadataUpdateCall

      public okhttp3.Call buildMetadataUpdateCall(@Nonnull Integer id, @Nonnull Metadata metadata, ApiCallback _callback) throws ApiException
      Build call for buildMetadataUpdate
      Parameters:
      id - (required)
      metadata - (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 -
    • buildMetadataUpdate

      public Metadata buildMetadataUpdate(@Nonnull Integer id, @Nonnull Metadata metadata) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      metadata - (required)
      Returns:
      Metadata
      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 -
    • buildMetadataUpdateWithHttpInfo

      public ApiResponse<Metadata> buildMetadataUpdateWithHttpInfo(@Nonnull Integer id, @Nonnull Metadata metadata) throws ApiException
      Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      metadata - (required)
      Returns:
      ApiResponse<Metadata>
      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 -
    • buildMetadataUpdateAsync

      public okhttp3.Call buildMetadataUpdateAsync(@Nonnull Integer id, @Nonnull Metadata metadata, ApiCallback<Metadata> _callback) throws ApiException
      (asynchronously) Generic API endpoint for reading and editing metadata for a model.
      Parameters:
      id - (required)
      metadata - (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 -
    • buildPartialUpdateCall

      public okhttp3.Call buildPartialUpdateCall(@Nonnull Integer id, @Nullable PatchedBuild patchedBuild, ApiCallback _callback) throws ApiException
      Build call for buildPartialUpdate
      Parameters:
      id - (required)
      patchedBuild - (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 -
    • buildPartialUpdate

      public Build buildPartialUpdate(@Nonnull Integer id, @Nullable PatchedBuild patchedBuild) throws ApiException
      API endpoint for detail view of a Build object.
      Parameters:
      id - (required)
      patchedBuild - (optional)
      Returns:
      Build
      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 -
    • buildPartialUpdateWithHttpInfo

      public ApiResponse<Build> buildPartialUpdateWithHttpInfo(@Nonnull Integer id, @Nullable PatchedBuild patchedBuild) throws ApiException
      API endpoint for detail view of a Build object.
      Parameters:
      id - (required)
      patchedBuild - (optional)
      Returns:
      ApiResponse<Build>
      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 -
    • buildPartialUpdateAsync

      public okhttp3.Call buildPartialUpdateAsync(@Nonnull Integer id, @Nullable PatchedBuild patchedBuild, ApiCallback<Build> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a Build object.
      Parameters:
      id - (required)
      patchedBuild - (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 -
    • buildRetrieveCall

      public okhttp3.Call buildRetrieveCall(@Nonnull Integer id, ApiCallback _callback) throws ApiException
      Build call for buildRetrieve
      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 -
    • buildRetrieve

      public Build buildRetrieve(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a Build object.
      Parameters:
      id - (required)
      Returns:
      Build
      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 -
    • buildRetrieveWithHttpInfo

      public ApiResponse<Build> buildRetrieveWithHttpInfo(@Nonnull Integer id) throws ApiException
      API endpoint for detail view of a Build object.
      Parameters:
      id - (required)
      Returns:
      ApiResponse<Build>
      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 -
    • buildRetrieveAsync

      public okhttp3.Call buildRetrieveAsync(@Nonnull Integer id, ApiCallback<Build> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a Build object.
      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 -
    • buildScrapOutputsCreateCall

      public okhttp3.Call buildScrapOutputsCreateCall(@Nonnull Integer id, @Nonnull BuildOutputScrap buildOutputScrap, ApiCallback _callback) throws ApiException
      Build call for buildScrapOutputsCreate
      Parameters:
      id - (required)
      buildOutputScrap - (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
      201 -
    • buildScrapOutputsCreate

      public BuildOutputScrap buildScrapOutputsCreate(@Nonnull Integer id, @Nonnull BuildOutputScrap buildOutputScrap) throws ApiException
      API endpoint for scrapping build output(s).
      Parameters:
      id - (required)
      buildOutputScrap - (required)
      Returns:
      BuildOutputScrap
      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
      201 -
    • buildScrapOutputsCreateWithHttpInfo

      public ApiResponse<BuildOutputScrap> buildScrapOutputsCreateWithHttpInfo(@Nonnull Integer id, @Nonnull BuildOutputScrap buildOutputScrap) throws ApiException
      API endpoint for scrapping build output(s).
      Parameters:
      id - (required)
      buildOutputScrap - (required)
      Returns:
      ApiResponse<BuildOutputScrap>
      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
      201 -
    • buildScrapOutputsCreateAsync

      public okhttp3.Call buildScrapOutputsCreateAsync(@Nonnull Integer id, @Nonnull BuildOutputScrap buildOutputScrap, ApiCallback<BuildOutputScrap> _callback) throws ApiException
      (asynchronously) API endpoint for scrapping build output(s).
      Parameters:
      id - (required)
      buildOutputScrap - (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
      201 -
    • buildStatusRetrieveCall

      public okhttp3.Call buildStatusRetrieveCall(ApiCallback _callback) throws ApiException
      Build call for buildStatusRetrieve
      Parameters:
      _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 -
      400 Invalid request -
    • buildStatusRetrieve

      public GenericStateClass buildStatusRetrieve() throws ApiException
      Retrieve information about a specific status code
      Returns:
      GenericStateClass
      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 -
      400 Invalid request -
    • buildStatusRetrieveWithHttpInfo

      public ApiResponse<GenericStateClass> buildStatusRetrieveWithHttpInfo() throws ApiException
      Retrieve information about a specific status code
      Returns:
      ApiResponse<GenericStateClass>
      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 -
      400 Invalid request -
    • buildStatusRetrieveAsync

      public okhttp3.Call buildStatusRetrieveAsync(ApiCallback<GenericStateClass> _callback) throws ApiException
      (asynchronously) Retrieve information about a specific status code
      Parameters:
      _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 -
      400 Invalid request -
    • buildUnallocateCreateCall

      public okhttp3.Call buildUnallocateCreateCall(@Nonnull Integer id, @Nullable BuildUnallocation buildUnallocation, ApiCallback _callback) throws ApiException
      Build call for buildUnallocateCreate
      Parameters:
      id - (required)
      buildUnallocation - (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
      201 -
    • buildUnallocateCreate

      public BuildUnallocation buildUnallocateCreate(@Nonnull Integer id, @Nullable BuildUnallocation buildUnallocation) throws ApiException
      API endpoint for unallocating stock items from a build order. - The BuildOrder object is specified by the URL - \"output\" (StockItem) can optionally be specified - \"bom_item\" can optionally be specified
      Parameters:
      id - (required)
      buildUnallocation - (optional)
      Returns:
      BuildUnallocation
      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
      201 -
    • buildUnallocateCreateWithHttpInfo

      public ApiResponse<BuildUnallocation> buildUnallocateCreateWithHttpInfo(@Nonnull Integer id, @Nullable BuildUnallocation buildUnallocation) throws ApiException
      API endpoint for unallocating stock items from a build order. - The BuildOrder object is specified by the URL - \"output\" (StockItem) can optionally be specified - \"bom_item\" can optionally be specified
      Parameters:
      id - (required)
      buildUnallocation - (optional)
      Returns:
      ApiResponse<BuildUnallocation>
      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
      201 -
    • buildUnallocateCreateAsync

      public okhttp3.Call buildUnallocateCreateAsync(@Nonnull Integer id, @Nullable BuildUnallocation buildUnallocation, ApiCallback<BuildUnallocation> _callback) throws ApiException
      (asynchronously) API endpoint for unallocating stock items from a build order. - The BuildOrder object is specified by the URL - \"output\" (StockItem) can optionally be specified - \"bom_item\" can optionally be specified
      Parameters:
      id - (required)
      buildUnallocation - (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
      201 -
    • buildUpdateCall

      public okhttp3.Call buildUpdateCall(@Nonnull Integer id, @Nonnull Build build, ApiCallback _callback) throws ApiException
      Build call for buildUpdate
      Parameters:
      id - (required)
      build - (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 -
    • buildUpdate

      public Build buildUpdate(@Nonnull Integer id, @Nonnull Build build) throws ApiException
      API endpoint for detail view of a Build object.
      Parameters:
      id - (required)
      build - (required)
      Returns:
      Build
      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 -
    • buildUpdateWithHttpInfo

      public ApiResponse<Build> buildUpdateWithHttpInfo(@Nonnull Integer id, @Nonnull Build build) throws ApiException
      API endpoint for detail view of a Build object.
      Parameters:
      id - (required)
      build - (required)
      Returns:
      ApiResponse<Build>
      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 -
    • buildUpdateAsync

      public okhttp3.Call buildUpdateAsync(@Nonnull Integer id, @Nonnull Build build, ApiCallback<Build> _callback) throws ApiException
      (asynchronously) API endpoint for detail view of a Build object.
      Parameters:
      id - (required)
      build - (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 -