Class TenantThemeApi

java.lang.Object
org.wso2.am.integration.clients.admin.api.TenantThemeApi

public class TenantThemeApi extends Object
  • Constructor Details

    • TenantThemeApi

      public TenantThemeApi()
    • TenantThemeApi

      public TenantThemeApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • exportTenantThemeCall

      public okhttp3.Call exportTenantThemeCall(ApiCallback _callback) throws ApiException
      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

      public File exportTenantTheme() throws ApiException
      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

      public ApiResponse<File> exportTenantThemeWithHttpInfo() throws ApiException
      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

      public okhttp3.Call exportTenantThemeAsync(ApiCallback<File> _callback) throws ApiException
      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

      public okhttp3.Call importTenantThemeCall(File file, ApiCallback _callback) throws ApiException
      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

      public void importTenantTheme(File file) throws ApiException
      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

      public ApiResponse<Void> importTenantThemeWithHttpInfo(File file) throws ApiException
      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