Package com.w3asel.inventree.api
Class VersionApi
java.lang.Object
com.w3asel.inventree.api.VersionApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) Return information about the InvenTree server.okhttp3.CallversionRetrieveAsync(ApiCallback<VersionView> _callback) (asynchronously) Return information about the InvenTree server.okhttp3.CallversionRetrieveCall(ApiCallback _callback) Build call for versionRetrieveReturn information about the InvenTree server.
-
Constructor Details
-
VersionApi
public VersionApi() -
VersionApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
versionRetrieveCall
Build call for versionRetrieve- 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 -
-
versionRetrieve
Return information about the InvenTree server.- Returns:
- VersionView
- 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 -
-
versionRetrieveWithHttpInfo
Return information about the InvenTree server.- Returns:
- ApiResponse<VersionView>
- 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 -
-
versionRetrieveAsync
(asynchronously) Return information about the InvenTree server.- 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 -
-