Class ConfigurationApi

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

public class ConfigurationApi extends Object
  • Constructor Details

    • ConfigurationApi

      public ConfigurationApi()
    • ConfigurationApi

      public ConfigurationApi(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)
    • allauthConfigGetCall

      public okhttp3.Call allauthConfigGetCall(ApiCallback _callback) throws ApiException
      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

      public AllauthConfigurationResponse allauthConfigGet() throws ApiException
      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

      public ApiResponse<AllauthConfigurationResponse> allauthConfigGetWithHttpInfo() throws ApiException
      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. -