Class TenantConfigApi


  • public class TenantConfigApi
    extends Object
    • 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