Class TenantConfigApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.TenantConfigApi
-
public class TenantConfigApi extends Object
-
-
Constructor Summary
Constructors Constructor Description TenantConfigApi()TenantConfigApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringexportTenantConfig()Export a tenant-Config.okhttp3.CallexportTenantConfigAsync(ApiCallback<String> _callback)Export a tenant-Config.okhttp3.CallexportTenantConfigCall(ApiCallback _callback)Build call for exportTenantConfigApiResponse<String>exportTenantConfigWithHttpInfo()Export a tenant-Config.ApiClientgetApiClient()voidsetApiClient(ApiClient apiClient)ObjectupdateTenantConfig(Object body)Update a tenant-config.okhttp3.CallupdateTenantConfigAsync(Object body, ApiCallback<Object> _callback)Update a tenant-config.okhttp3.CallupdateTenantConfigCall(Object body, ApiCallback _callback)Build call for updateTenantConfigApiResponse<Object>updateTenantConfigWithHttpInfo(Object body)Update a tenant-config.
-
-
-
Constructor Detail
-
TenantConfigApi
public TenantConfigApi()
-
TenantConfigApi
public TenantConfigApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
exportTenantConfigCall
public okhttp3.Call exportTenantConfigCall(ApiCallback _callback) throws ApiException
Build call for exportTenantConfig- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
exportTenantConfig
public String exportTenantConfig() throws ApiException
Export a tenant-Config. This operation can be used to export a tenant-config.json used in deployment.- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportTenantConfigWithHttpInfo
public ApiResponse<String> exportTenantConfigWithHttpInfo() throws ApiException
Export a tenant-Config. This operation can be used to export a tenant-config.json used in deployment.- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportTenantConfigAsync
public okhttp3.Call exportTenantConfigAsync(ApiCallback<String> _callback) throws ApiException
Export a tenant-Config. (asynchronously) This operation can be used to export a tenant-config.json used in deployment.- 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
-
updateTenantConfigCall
public okhttp3.Call updateTenantConfigCall(Object body, ApiCallback _callback) throws ApiException
Build call for updateTenantConfig- Parameters:
body- tenant-config (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateTenantConfig
public Object updateTenantConfig(Object body) throws ApiException
Update a tenant-config. This operation can be used to update tenant-config.- Parameters:
body- tenant-config (required)- Returns:
- Object
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateTenantConfigWithHttpInfo
public ApiResponse<Object> updateTenantConfigWithHttpInfo(Object body) throws ApiException
Update a tenant-config. This operation can be used to update tenant-config.- Parameters:
body- tenant-config (required)- Returns:
- ApiResponse<Object>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateTenantConfigAsync
public okhttp3.Call updateTenantConfigAsync(Object body, ApiCallback<Object> _callback) throws ApiException
Update a tenant-config. (asynchronously) This operation can be used to update tenant-config.- Parameters:
body- tenant-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
-
-