Class ApplicationIndividualApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.ApplicationIndividualApi
-
public class ApplicationIndividualApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ApplicationIndividualApi()ApplicationIndividualApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileexportApplicationsGet(String appName, String appOwner, Boolean withKeys)Export an Application This operation can be used to export the details of a particular application as a zip file.okhttp3.CallexportApplicationsGetAsync(String appName, String appOwner, Boolean withKeys, ApiCallback<File> _callback)Export an Application (asynchronously) This operation can be used to export the details of a particular application as a zip file.okhttp3.CallexportApplicationsGetCall(String appName, String appOwner, Boolean withKeys, ApiCallback _callback)Build call for exportApplicationsGetApiResponse<File>exportApplicationsGetWithHttpInfo(String appName, String appOwner, Boolean withKeys)Export an Application This operation can be used to export the details of a particular application as a zip file.ApiClientgetApiClient()ApplicationInfoDTOimportApplicationsPost(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update)Import an Application This operation can be used to import an application.okhttp3.CallimportApplicationsPostAsync(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update, ApiCallback<ApplicationInfoDTO> _callback)Import an Application (asynchronously) This operation can be used to import an application.okhttp3.CallimportApplicationsPostCall(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update, ApiCallback _callback)Build call for importApplicationsPostApiResponse<ApplicationInfoDTO>importApplicationsPostWithHttpInfo(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update)Import an Application This operation can be used to import an application.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ApplicationIndividualApi
public ApplicationIndividualApi()
-
ApplicationIndividualApi
public ApplicationIndividualApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
exportApplicationsGetCall
public okhttp3.Call exportApplicationsGetCall(String appName, String appOwner, Boolean withKeys, ApiCallback _callback) throws ApiException
Build call for exportApplicationsGet- Parameters:
appName- Application Name (required)appOwner- Owner of the Application (required)withKeys- Export application keys (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
exportApplicationsGet
public File exportApplicationsGet(String appName, String appOwner, Boolean withKeys) throws ApiException
Export an Application This operation can be used to export the details of a particular application as a zip file.- Parameters:
appName- Application Name (required)appOwner- Owner of the Application (required)withKeys- Export application keys (optional)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportApplicationsGetWithHttpInfo
public ApiResponse<File> exportApplicationsGetWithHttpInfo(String appName, String appOwner, Boolean withKeys) throws ApiException
Export an Application This operation can be used to export the details of a particular application as a zip file.- Parameters:
appName- Application Name (required)appOwner- Owner of the Application (required)withKeys- Export application keys (optional)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportApplicationsGetAsync
public okhttp3.Call exportApplicationsGetAsync(String appName, String appOwner, Boolean withKeys, ApiCallback<File> _callback) throws ApiException
Export an Application (asynchronously) This operation can be used to export the details of a particular application as a zip file.- Parameters:
appName- Application Name (required)appOwner- Owner of the Application (required)withKeys- Export application keys (optional)_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
-
importApplicationsPostCall
public okhttp3.Call importApplicationsPostCall(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update, ApiCallback _callback) throws ApiException
Build call for importApplicationsPost- Parameters:
file- Zip archive consisting of exported Application Configuration. (required)preserveOwner- Preserve Original Creator of the Application (optional)skipSubscriptions- Skip importing Subscriptions of the Application (optional)appOwner- Expected Owner of the Application in the Import Environment (optional)skipApplicationKeys- Skip importing Keys of the Application (optional)update- Update if application exists (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
importApplicationsPost
public ApplicationInfoDTO importApplicationsPost(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update) throws ApiException
Import an Application This operation can be used to import an application.- Parameters:
file- Zip archive consisting of exported Application Configuration. (required)preserveOwner- Preserve Original Creator of the Application (optional)skipSubscriptions- Skip importing Subscriptions of the Application (optional)appOwner- Expected Owner of the Application in the Import Environment (optional)skipApplicationKeys- Skip importing Keys of the Application (optional)update- Update if application exists (optional)- Returns:
- ApplicationInfoDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importApplicationsPostWithHttpInfo
public ApiResponse<ApplicationInfoDTO> importApplicationsPostWithHttpInfo(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update) throws ApiException
Import an Application This operation can be used to import an application.- Parameters:
file- Zip archive consisting of exported Application Configuration. (required)preserveOwner- Preserve Original Creator of the Application (optional)skipSubscriptions- Skip importing Subscriptions of the Application (optional)appOwner- Expected Owner of the Application in the Import Environment (optional)skipApplicationKeys- Skip importing Keys of the Application (optional)update- Update if application exists (optional)- Returns:
- ApiResponse<ApplicationInfoDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importApplicationsPostAsync
public okhttp3.Call importApplicationsPostAsync(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update, ApiCallback<ApplicationInfoDTO> _callback) throws ApiException
Import an Application (asynchronously) This operation can be used to import an application.- Parameters:
file- Zip archive consisting of exported Application Configuration. (required)preserveOwner- Preserve Original Creator of the Application (optional)skipSubscriptions- Skip importing Subscriptions of the Application (optional)appOwner- Expected Owner of the Application in the Import Environment (optional)skipApplicationKeys- Skip importing Keys of the Application (optional)update- Update if application exists (optional)_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
-
-