Package com.w3asel.inventree.api
Class NotesImageUploadApi
java.lang.Object
com.w3asel.inventree.api.NotesImageUploadApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintnotesImageUploadCreate(NotesImage notesImage) List view for all notes images.okhttp3.CallnotesImageUploadCreateAsync(NotesImage notesImage, ApiCallback<NotesImage> _callback) (asynchronously) List view for all notes images.okhttp3.CallnotesImageUploadCreateCall(NotesImage notesImage, ApiCallback _callback) Build call for notesImageUploadCreatenotesImageUploadCreateWithHttpInfo(NotesImage notesImage) List view for all notes images.notesImageUploadList(Integer limit, Integer offset, String ordering, String search) List view for all notes images.okhttp3.CallnotesImageUploadListAsync(Integer limit, Integer offset, String ordering, String search, ApiCallback<PaginatedNotesImageList> _callback) (asynchronously) List view for all notes images.okhttp3.CallnotesImageUploadListCall(Integer limit, Integer offset, String ordering, String search, ApiCallback _callback) Build call for notesImageUploadListnotesImageUploadListWithHttpInfo(Integer limit, Integer offset, String ordering, String search) List view for all notes images.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
NotesImageUploadApi
public NotesImageUploadApi() -
NotesImageUploadApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
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
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 -
-