Package com.w3asel.inventree.api
Class ConfigurationApi
java.lang.Object
com.w3asel.inventree.api.ConfigurationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet configuration There are many configuration options that alter the functionality and behavior of django-allauth, some of which can also impact the frontend.okhttp3.CallGet configuration (asynchronously) There are many configuration options that alter the functionality and behavior of django-allauth, some of which can also impact the frontend.okhttp3.CallallauthConfigGetCall(ApiCallback _callback) Build call for allauthConfigGetGet configuration There are many configuration options that alter the functionality and behavior of django-allauth, some of which can also impact the frontend.intvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
ConfigurationApi
public ConfigurationApi() -
ConfigurationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
allauthConfigGetCall
Build call for allauthConfigGet- 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 The django-allauth configuration. -
-
allauthConfigGet
Get configuration There are many configuration options that alter the functionality and behavior of django-allauth, some of which can also impact the frontend. Therefore, relevant configuration options are exposed via this endpoint. The data returned is not user/authentication dependent. Hence, it suffices to only fetch this data once at boot time of your application.- Returns:
- AllauthConfigurationResponse
- 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 The django-allauth configuration. -
-
allauthConfigGetWithHttpInfo
Get configuration There are many configuration options that alter the functionality and behavior of django-allauth, some of which can also impact the frontend. Therefore, relevant configuration options are exposed via this endpoint. The data returned is not user/authentication dependent. Hence, it suffices to only fetch this data once at boot time of your application.- Returns:
- ApiResponse<AllauthConfigurationResponse>
- 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 The django-allauth configuration. -
-
allauthConfigGetAsync
public okhttp3.Call allauthConfigGetAsync(ApiCallback<AllauthConfigurationResponse> _callback) throws ApiException Get configuration (asynchronously) There are many configuration options that alter the functionality and behavior of django-allauth, some of which can also impact the frontend. Therefore, relevant configuration options are exposed via this endpoint. The data returned is not user/authentication dependent. Hence, it suffices to only fetch this data once at boot time of your application.- 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 The django-allauth configuration. -
-