Class NotesImageUploadApi

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

public class NotesImageUploadApi extends Object
  • Constructor Details

    • NotesImageUploadApi

      public NotesImageUploadApi()
    • NotesImageUploadApi

      public NotesImageUploadApi(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)
    • notesImageUploadCreateCall

      public okhttp3.Call notesImageUploadCreateCall(@Nonnull NotesImage notesImage, ApiCallback _callback) throws ApiException
      Build call for notesImageUploadCreate
      Parameters:
      notesImage - (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 -
    • notesImageUploadCreate

      public NotesImage notesImageUploadCreate(@Nonnull NotesImage notesImage) throws ApiException
      List view for all notes images.
      Parameters:
      notesImage - (required)
      Returns:
      NotesImage
      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 -
    • notesImageUploadCreateWithHttpInfo

      public ApiResponse<NotesImage> notesImageUploadCreateWithHttpInfo(@Nonnull NotesImage notesImage) throws ApiException
      List view for all notes images.
      Parameters:
      notesImage - (required)
      Returns:
      ApiResponse<NotesImage>
      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 -
    • notesImageUploadCreateAsync

      public okhttp3.Call notesImageUploadCreateAsync(@Nonnull NotesImage notesImage, ApiCallback<NotesImage> _callback) throws ApiException
      (asynchronously) List view for all notes images.
      Parameters:
      notesImage - (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 -
    • notesImageUploadListCall

      public okhttp3.Call notesImageUploadListCall(@Nonnull Integer limit, @Nullable Integer offset, @Nullable String ordering, @Nullable String search, ApiCallback _callback) throws ApiException
      Build call for notesImageUploadList
      Parameters:
      limit - Number of results to return per page. (required)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. (optional)
      search - A search term. Searched fields: model_id, model_type, user. (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 -
    • notesImageUploadList

      public PaginatedNotesImageList notesImageUploadList(@Nonnull Integer limit, @Nullable Integer offset, @Nullable String ordering, @Nullable String search) throws ApiException
      List view for all notes images.
      Parameters:
      limit - Number of results to return per page. (required)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. (optional)
      search - A search term. Searched fields: model_id, model_type, user. (optional)
      Returns:
      PaginatedNotesImageList
      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 -
    • notesImageUploadListWithHttpInfo

      public ApiResponse<PaginatedNotesImageList> notesImageUploadListWithHttpInfo(@Nonnull Integer limit, @Nullable Integer offset, @Nullable String ordering, @Nullable String search) throws ApiException
      List view for all notes images.
      Parameters:
      limit - Number of results to return per page. (required)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. (optional)
      search - A search term. Searched fields: model_id, model_type, user. (optional)
      Returns:
      ApiResponse<PaginatedNotesImageList>
      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 -
    • notesImageUploadListAsync

      public okhttp3.Call notesImageUploadListAsync(@Nonnull Integer limit, @Nullable Integer offset, @Nullable String ordering, @Nullable String search, ApiCallback<PaginatedNotesImageList> _callback) throws ApiException
      (asynchronously) List view for all notes images.
      Parameters:
      limit - Number of results to return per page. (required)
      offset - The initial index from which to return the results. (optional)
      ordering - Which field to use when ordering the results. (optional)
      search - A search term. Searched fields: model_id, model_type, user. (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 -