public class ImportExportApi extends Object
| Constructor and Description |
|---|
ImportExportApi() |
ImportExportApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
File |
apisExportGet(String apiId,
String name,
String version,
String providerName,
String format,
Boolean preserveStatus)
Export an API
This operation can be used to export the details of a particular API as a zip file.
|
com.squareup.okhttp.Call |
apisExportGetAsync(String apiId,
String name,
String version,
String providerName,
String format,
Boolean preserveStatus,
ApiCallback<File> callback)
Export an API (asynchronously)
This operation can be used to export the details of a particular API as a zip file.
|
com.squareup.okhttp.Call |
apisExportGetCall(String apiId,
String name,
String version,
String providerName,
String format,
Boolean preserveStatus,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisExportGet
|
ApiResponse<File> |
apisExportGetWithHttpInfo(String apiId,
String name,
String version,
String providerName,
String format,
Boolean preserveStatus)
Export an API
This operation can be used to export the details of a particular API as a zip file.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ImportExportApi()
public ImportExportApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisExportGetCall(String apiId, String name, String version, String providerName, String format, Boolean preserveStatus, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - UUID of the API (optional)name - API Name (optional)version - Version of the API (optional)providerName - Provider name of the API (optional)format - Format of output documents. Can be YAML or JSON. (optional)preserveStatus - Preserve API Status on export (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic File apisExportGet(String apiId, String name, String version, String providerName, String format, Boolean preserveStatus) throws ApiException
apiId - UUID of the API (optional)name - API Name (optional)version - Version of the API (optional)providerName - Provider name of the API (optional)format - Format of output documents. Can be YAML or JSON. (optional)preserveStatus - Preserve API Status on export (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> apisExportGetWithHttpInfo(String apiId, String name, String version, String providerName, String format, Boolean preserveStatus) throws ApiException
apiId - UUID of the API (optional)name - API Name (optional)version - Version of the API (optional)providerName - Provider name of the API (optional)format - Format of output documents. Can be YAML or JSON. (optional)preserveStatus - Preserve API Status on export (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisExportGetAsync(String apiId, String name, String version, String providerName, String format, Boolean preserveStatus, ApiCallback<File> callback) throws ApiException
apiId - UUID of the API (optional)name - API Name (optional)version - Version of the API (optional)providerName - Provider name of the API (optional)format - Format of output documents. Can be YAML or JSON. (optional)preserveStatus - Preserve API Status on export (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020 WSO2 Inc. All rights reserved.