Class ApplicationIndividualApi
- java.lang.Object
-
- org.wso2.am.integration.clients.store.api.v1.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 ApplicationInfoDTOapplicationsImportPost(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.CallapplicationsImportPostAsync(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.CallapplicationsImportPostCall(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update, ApiCallback _callback)Build call for applicationsImportPostApiResponse<ApplicationInfoDTO>applicationsImportPostWithHttpInfo(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update)Import an Application This operation can be used to import an application.ApiClientgetApiClient()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)
-
applicationsImportPostCall
public okhttp3.Call applicationsImportPostCall(File file, Boolean preserveOwner, Boolean skipSubscriptions, String appOwner, Boolean skipApplicationKeys, Boolean update, ApiCallback _callback) throws ApiException
Build call for applicationsImportPost- 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
-
applicationsImportPost
public ApplicationInfoDTO applicationsImportPost(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
-
applicationsImportPostWithHttpInfo
public ApiResponse<ApplicationInfoDTO> applicationsImportPostWithHttpInfo(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
-
applicationsImportPostAsync
public okhttp3.Call applicationsImportPostAsync(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
-
-