Package com.w3asel.inventree.api
Class DefaultApi
java.lang.Object
com.w3asel.inventree.api.DefaultApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintServe current server information.okhttp3.CallrootRetrieveAsync(ApiCallback<InfoApi> _callback) (asynchronously) Serve current server information.okhttp3.CallrootRetrieveCall(ApiCallback _callback) Build call for rootRetrieveServe current server information.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
DefaultApi
public DefaultApi() -
DefaultApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
rootRetrieveCall
Build call for rootRetrieve- 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 InvenTree server information -
-
rootRetrieve
Serve current server information.- Returns:
- InfoApi
- 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 InvenTree server information -
-
rootRetrieveWithHttpInfo
Serve current server information.- Returns:
- ApiResponse<InfoApi>
- 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 InvenTree server information -
-
rootRetrieveAsync
(asynchronously) Serve current server information.- 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 InvenTree server information -
-