public class ConfigsApi
extends java.lang.Object
| Constructor and Description |
|---|
ConfigsApi() |
ConfigsApi(ApiClient apiClient) |
| Modifier and Type | Method and 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.
|
public ConfigsApi()
public ConfigsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public java.lang.String getCustomBaseUrl()
public void setCustomBaseUrl(java.lang.String customBaseUrl)
public okhttp3.Call createConfigCall(java.util.UUID productId,
CreateConfigRequest createConfigRequest,
ApiCallback _callback)
throws ApiException
productId - The identifier of the Product. (required)createConfigRequest - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| 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. | - |
public ConfigModel createConfig(java.util.UUID productId, CreateConfigRequest createConfigRequest) throws ApiException
productId - The identifier of the Product. (required)createConfigRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public ApiResponse<ConfigModel> createConfigWithHttpInfo(java.util.UUID productId, CreateConfigRequest createConfigRequest) throws ApiException
productId - The identifier of the Product. (required)createConfigRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public okhttp3.Call createConfigAsync(java.util.UUID productId,
CreateConfigRequest createConfigRequest,
ApiCallback<ConfigModel> _callback)
throws ApiException
productId - The identifier of the Product. (required)createConfigRequest - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| 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. | - |
public okhttp3.Call deleteConfigCall(java.util.UUID configId,
ApiCallback _callback)
throws ApiException
configId - The identifier of the Config. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| 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. | - |
public void deleteConfig(java.util.UUID configId)
throws ApiException
configId - The identifier of the Config. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public ApiResponse<java.lang.Void> deleteConfigWithHttpInfo(java.util.UUID configId) throws ApiException
configId - The identifier of the Config. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public okhttp3.Call deleteConfigAsync(java.util.UUID configId,
ApiCallback<java.lang.Void> _callback)
throws ApiException
configId - The identifier of the Config. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| 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. | - |
public okhttp3.Call getConfigCall(java.util.UUID configId,
ApiCallback _callback)
throws ApiException
configId - The identifier of the Config. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| 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. | - |
public ConfigModel getConfig(java.util.UUID configId) throws ApiException
configId - The identifier of the Config. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public ApiResponse<ConfigModel> getConfigWithHttpInfo(java.util.UUID configId) throws ApiException
configId - The identifier of the Config. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public okhttp3.Call getConfigAsync(java.util.UUID configId,
ApiCallback<ConfigModel> _callback)
throws ApiException
configId - The identifier of the Config. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| 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. | - |
public okhttp3.Call getConfigsCall(java.util.UUID productId,
ApiCallback _callback)
throws ApiException
productId - The identifier of the Product. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| 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. | - |
public java.util.List<ConfigModel> getConfigs(java.util.UUID productId) throws ApiException
productId - The identifier of the Product. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public ApiResponse<java.util.List<ConfigModel>> getConfigsWithHttpInfo(java.util.UUID productId) throws ApiException
productId - The identifier of the Product. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public okhttp3.Call getConfigsAsync(java.util.UUID productId,
ApiCallback<java.util.List<ConfigModel>> _callback)
throws ApiException
productId - The identifier of the Product. (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| 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. | - |
public okhttp3.Call updateConfigCall(java.util.UUID configId,
UpdateConfigRequest updateConfigRequest,
ApiCallback _callback)
throws ApiException
configId - The identifier of the Config. (required)updateConfigRequest - (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body object| 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. | - |
public ConfigModel updateConfig(java.util.UUID configId, UpdateConfigRequest updateConfigRequest) throws ApiException
configId - The identifier of the Config. (required)updateConfigRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public ApiResponse<ConfigModel> updateConfigWithHttpInfo(java.util.UUID configId, UpdateConfigRequest updateConfigRequest) throws ApiException
configId - The identifier of the Config. (required)updateConfigRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| 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. | - |
public okhttp3.Call updateConfigAsync(java.util.UUID configId,
UpdateConfigRequest updateConfigRequest,
ApiCallback<ConfigModel> _callback)
throws ApiException
configId - The identifier of the Config. (required)updateConfigRequest - (required)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| 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. | - |