Class ConfigsApi


  • public class ConfigsApi
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConfigModel createConfig​(java.util.UUID productId, CreateConfigRequest createConfigRequest)
      Create Config This endpoint creates a new Config in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      okhttp3.Call createConfigAsync​(java.util.UUID productId, CreateConfigRequest createConfigRequest, ApiCallback<ConfigModel> _callback)
      Create Config (asynchronously) This endpoint creates a new Config in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      okhttp3.Call createConfigCall​(java.util.UUID productId, CreateConfigRequest createConfigRequest, ApiCallback _callback)
      Build call for createConfig
      ApiResponse<ConfigModel> createConfigWithHttpInfo​(java.util.UUID productId, CreateConfigRequest createConfigRequest)
      Create Config This endpoint creates a new Config in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      void deleteConfig​(java.util.UUID configId)
      Delete Config This endpoint removes a Config identified by the `configId` parameter.
      okhttp3.Call deleteConfigAsync​(java.util.UUID configId, ApiCallback<java.lang.Void> _callback)
      Delete Config (asynchronously) This endpoint removes a Config identified by the `configId` parameter.
      okhttp3.Call deleteConfigCall​(java.util.UUID configId, ApiCallback _callback)
      Build call for deleteConfig
      ApiResponse<java.lang.Void> deleteConfigWithHttpInfo​(java.util.UUID configId)
      Delete Config This endpoint removes a Config identified by the `configId` parameter.
      ApiClient getApiClient()  
      ConfigModel getConfig​(java.util.UUID configId)
      Get Config This endpoint returns the metadata of a Config identified by the `configId`.
      okhttp3.Call getConfigAsync​(java.util.UUID configId, ApiCallback<ConfigModel> _callback)
      Get Config (asynchronously) This endpoint returns the metadata of a Config identified by the `configId`.
      okhttp3.Call getConfigCall​(java.util.UUID configId, ApiCallback _callback)
      Build call for getConfig
      java.util.List<ConfigModel> getConfigs​(java.util.UUID productId)
      List Configs This endpoint returns the list of the Configs that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      okhttp3.Call getConfigsAsync​(java.util.UUID productId, ApiCallback<java.util.List<ConfigModel>> _callback)
      List Configs (asynchronously) This endpoint returns the list of the Configs that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      okhttp3.Call getConfigsCall​(java.util.UUID productId, ApiCallback _callback)
      Build call for getConfigs
      ApiResponse<java.util.List<ConfigModel>> getConfigsWithHttpInfo​(java.util.UUID productId)
      List Configs This endpoint returns the list of the Configs that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
      ApiResponse<ConfigModel> getConfigWithHttpInfo​(java.util.UUID configId)
      Get Config This endpoint returns the metadata of a Config identified by the `configId`.
      java.lang.String getCustomBaseUrl()  
      int getHostIndex()  
      void setApiClient​(ApiClient apiClient)  
      void setCustomBaseUrl​(java.lang.String customBaseUrl)  
      void setHostIndex​(int hostIndex)  
      ConfigModel updateConfig​(java.util.UUID configId, UpdateConfigRequest updateConfigRequest)
      Update Config This endpoint updates a Config identified by the `configId` parameter.
      okhttp3.Call updateConfigAsync​(java.util.UUID configId, UpdateConfigRequest updateConfigRequest, ApiCallback<ConfigModel> _callback)
      Update Config (asynchronously) This endpoint updates a Config identified by the `configId` parameter.
      okhttp3.Call updateConfigCall​(java.util.UUID configId, UpdateConfigRequest updateConfigRequest, ApiCallback _callback)
      Build call for updateConfig
      ApiResponse<ConfigModel> updateConfigWithHttpInfo​(java.util.UUID configId, UpdateConfigRequest updateConfigRequest)
      Update Config This endpoint updates a Config identified by the `configId` parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigsApi

        public ConfigsApi()
      • ConfigsApi

        public ConfigsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • createConfigCall

        public okhttp3.Call createConfigCall​(java.util.UUID productId,
                                             CreateConfigRequest createConfigRequest,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for createConfig
        Parameters:
        productId - The identifier of the Product. (required)
        createConfigRequest - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createConfig

        public ConfigModel createConfig​(java.util.UUID productId,
                                        CreateConfigRequest createConfigRequest)
                                 throws ApiException
        Create Config This endpoint creates a new Config in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Product. (required)
        createConfigRequest - (required)
        Returns:
        ConfigModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createConfigWithHttpInfo

        public ApiResponse<ConfigModel> createConfigWithHttpInfo​(java.util.UUID productId,
                                                                 CreateConfigRequest createConfigRequest)
                                                          throws ApiException
        Create Config This endpoint creates a new Config in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Product. (required)
        createConfigRequest - (required)
        Returns:
        ApiResponse<ConfigModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • createConfigAsync

        public okhttp3.Call createConfigAsync​(java.util.UUID productId,
                                              CreateConfigRequest createConfigRequest,
                                              ApiCallback<ConfigModel> _callback)
                                       throws ApiException
        Create Config (asynchronously) This endpoint creates a new Config in a specified Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Product. (required)
        createConfigRequest - (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
        Status Code Description Response Headers
        201 When the creation was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteConfigCall

        public okhttp3.Call deleteConfigCall​(java.util.UUID configId,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for deleteConfig
        Parameters:
        configId - The identifier of the Config. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteConfig

        public void deleteConfig​(java.util.UUID configId)
                          throws ApiException
        Delete Config This endpoint removes a Config identified by the `configId` parameter.
        Parameters:
        configId - The identifier of the Config. (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteConfigWithHttpInfo

        public ApiResponse<java.lang.Void> deleteConfigWithHttpInfo​(java.util.UUID configId)
                                                             throws ApiException
        Delete Config This endpoint removes a Config identified by the `configId` parameter.
        Parameters:
        configId - The identifier of the Config. (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • deleteConfigAsync

        public okhttp3.Call deleteConfigAsync​(java.util.UUID configId,
                                              ApiCallback<java.lang.Void> _callback)
                                       throws ApiException
        Delete Config (asynchronously) This endpoint removes a Config identified by the `configId` parameter.
        Parameters:
        configId - The identifier of the Config. (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
        Status Code Description Response Headers
        204 When the delete was successful. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getConfigCall

        public okhttp3.Call getConfigCall​(java.util.UUID configId,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for getConfig
        Parameters:
        configId - The identifier of the Config. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the config data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getConfig

        public ConfigModel getConfig​(java.util.UUID configId)
                              throws ApiException
        Get Config This endpoint returns the metadata of a Config identified by the `configId`.
        Parameters:
        configId - The identifier of the Config. (required)
        Returns:
        ConfigModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the config data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getConfigWithHttpInfo

        public ApiResponse<ConfigModel> getConfigWithHttpInfo​(java.util.UUID configId)
                                                       throws ApiException
        Get Config This endpoint returns the metadata of a Config identified by the `configId`.
        Parameters:
        configId - The identifier of the Config. (required)
        Returns:
        ApiResponse<ConfigModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 When everything is ok, the config data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getConfigAsync

        public okhttp3.Call getConfigAsync​(java.util.UUID configId,
                                           ApiCallback<ConfigModel> _callback)
                                    throws ApiException
        Get Config (asynchronously) This endpoint returns the metadata of a Config identified by the `configId`.
        Parameters:
        configId - The identifier of the Config. (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
        Status Code Description Response Headers
        200 When everything is ok, the config data returned. -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getConfigsCall

        public okhttp3.Call getConfigsCall​(java.util.UUID productId,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for getConfigs
        Parameters:
        productId - The identifier of the Product. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getConfigs

        public java.util.List<ConfigModel> getConfigs​(java.util.UUID productId)
                                               throws ApiException
        List Configs This endpoint returns the list of the Configs that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Product. (required)
        Returns:
        List<ConfigModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getConfigsWithHttpInfo

        public ApiResponse<java.util.List<ConfigModel>> getConfigsWithHttpInfo​(java.util.UUID productId)
                                                                        throws ApiException
        List Configs This endpoint returns the list of the Configs that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Product. (required)
        Returns:
        ApiResponse<List<ConfigModel>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • getConfigsAsync

        public okhttp3.Call getConfigsAsync​(java.util.UUID productId,
                                            ApiCallback<java.util.List<ConfigModel>> _callback)
                                     throws ApiException
        List Configs (asynchronously) This endpoint returns the list of the Configs that belongs to the given Product identified by the `productId` parameter, which can be obtained from the [List Products](#operation/get-products) endpoint.
        Parameters:
        productId - The identifier of the Product. (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
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateConfigCall

        public okhttp3.Call updateConfigCall​(java.util.UUID configId,
                                             UpdateConfigRequest updateConfigRequest,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for updateConfig
        Parameters:
        configId - The identifier of the Config. (required)
        updateConfigRequest - (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateConfig

        public ConfigModel updateConfig​(java.util.UUID configId,
                                        UpdateConfigRequest updateConfigRequest)
                                 throws ApiException
        Update Config This endpoint updates a Config identified by the `configId` parameter.
        Parameters:
        configId - The identifier of the Config. (required)
        updateConfigRequest - (required)
        Returns:
        ConfigModel
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateConfigWithHttpInfo

        public ApiResponse<ConfigModel> updateConfigWithHttpInfo​(java.util.UUID configId,
                                                                 UpdateConfigRequest updateConfigRequest)
                                                          throws ApiException
        Update Config This endpoint updates a Config identified by the `configId` parameter.
        Parameters:
        configId - The identifier of the Config. (required)
        updateConfigRequest - (required)
        Returns:
        ApiResponse<ConfigModel>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -
      • updateConfigAsync

        public okhttp3.Call updateConfigAsync​(java.util.UUID configId,
                                              UpdateConfigRequest updateConfigRequest,
                                              ApiCallback<ConfigModel> _callback)
                                       throws ApiException
        Update Config (asynchronously) This endpoint updates a Config identified by the `configId` parameter.
        Parameters:
        configId - The identifier of the Config. (required)
        updateConfigRequest - (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
        Status Code Description Response Headers
        200 -
        400 Bad request. -
        404 Not found. -
        429 Too many requests. In case of the request rate exceeds the rate limits. -