Class TenantThemeApi
java.lang.Object
org.wso2.am.integration.clients.admin.api.TenantThemeApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExport a DevPortal Tenant Theme This operation can be used to export a DevPortal tenant theme as a zip file.okhttp3.CallexportTenantThemeAsync(ApiCallback<File> _callback) Export a DevPortal Tenant Theme (asynchronously) This operation can be used to export a DevPortal tenant theme as a zip file.okhttp3.CallexportTenantThemeCall(ApiCallback _callback) Build call for exportTenantThemeExport a DevPortal Tenant Theme This operation can be used to export a DevPortal tenant theme as a zip file.voidimportTenantTheme(File file) Import a DevPortal Tenant Theme This operation can be used to import a DevPortal tenant theme.okhttp3.CallimportTenantThemeAsync(File file, ApiCallback<Void> _callback) Import a DevPortal Tenant Theme (asynchronously) This operation can be used to import a DevPortal tenant theme.okhttp3.CallimportTenantThemeCall(File file, ApiCallback _callback) Build call for importTenantThemeImport a DevPortal Tenant Theme This operation can be used to import a DevPortal tenant theme.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
TenantThemeApi
public TenantThemeApi() -
TenantThemeApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
exportTenantThemeCall
Build call for exportTenantTheme- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
exportTenantTheme
Export a DevPortal Tenant Theme This operation can be used to export a DevPortal tenant theme as a zip file.- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportTenantThemeWithHttpInfo
Export a DevPortal Tenant Theme This operation can be used to export a DevPortal tenant theme as a zip file.- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportTenantThemeAsync
Export a DevPortal Tenant Theme (asynchronously) This operation can be used to export a DevPortal tenant theme as a zip file.- 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
-
importTenantThemeCall
Build call for importTenantTheme- Parameters:
file- Zip archive consisting of tenant theme configuration (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
importTenantTheme
Import a DevPortal Tenant Theme This operation can be used to import a DevPortal tenant theme.- Parameters:
file- Zip archive consisting of tenant theme configuration (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importTenantThemeWithHttpInfo
Import a DevPortal Tenant Theme This operation can be used to import a DevPortal tenant theme.- Parameters:
file- Zip archive consisting of tenant theme configuration (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importTenantThemeAsync
public okhttp3.Call importTenantThemeAsync(File file, ApiCallback<Void> _callback) throws ApiException Import a DevPortal Tenant Theme (asynchronously) This operation can be used to import a DevPortal tenant theme.- Parameters:
file- Zip archive consisting of tenant theme configuration (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
-