public class ApiIndividualApi extends Object
| Constructor and Description |
|---|
ApiIndividualApi() |
ApiIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
File |
exportApiGet(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.
|
okhttp3.Call |
exportApiGetAsync(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.
|
okhttp3.Call |
exportApiGetCall(String name,
String version,
String providerName,
String format,
Boolean preserveStatus,
ApiCallback _callback)
Build call for exportApiGet
|
ApiResponse<File> |
exportApiGetWithHttpInfo(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 |
importApiPost(File file,
Boolean preserveProvider,
Boolean overwrite)
Import an API
This operation can be used to import an API.
|
okhttp3.Call |
importApiPostAsync(File file,
Boolean preserveProvider,
Boolean overwrite,
ApiCallback<Void> _callback)
Import an API (asynchronously)
This operation can be used to import an API.
|
okhttp3.Call |
importApiPostCall(File file,
Boolean preserveProvider,
Boolean overwrite,
ApiCallback _callback)
Build call for importApiPost
|
ApiResponse<Void> |
importApiPostWithHttpInfo(File file,
Boolean preserveProvider,
Boolean overwrite)
Import an API
This operation can be used to import an API.
|
void |
setApiClient(ApiClient apiClient) |
public ApiIndividualApi()
public ApiIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call exportApiGetCall(String name, String version, String providerName, String format, Boolean preserveStatus, ApiCallback _callback) throws ApiException
name - API Name (required)version - Version of the API (required)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 - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic File exportApiGet(String name, String version, String providerName, String format, Boolean preserveStatus) throws ApiException
name - API Name (required)version - Version of the API (required)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> exportApiGetWithHttpInfo(String name, String version, String providerName, String format, Boolean preserveStatus) throws ApiException
name - API Name (required)version - Version of the API (required)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 okhttp3.Call exportApiGetAsync(String name, String version, String providerName, String format, Boolean preserveStatus, ApiCallback<File> _callback) throws ApiException
name - API Name (required)version - Version of the API (required)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 objectpublic okhttp3.Call importApiPostCall(File file, Boolean preserveProvider, Boolean overwrite, ApiCallback _callback) throws ApiException
file - Zip archive consisting on exported api configuration (required)preserveProvider - Preserve Original Provider of the API. This is the user choice to keep or replace the API provider. (optional)overwrite - Whether to update the API or not. This is used when updating already existing APIs. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void importApiPost(File file, Boolean preserveProvider, Boolean overwrite) throws ApiException
file - Zip archive consisting on exported api configuration (required)preserveProvider - Preserve Original Provider of the API. This is the user choice to keep or replace the API provider. (optional)overwrite - Whether to update the API or not. This is used when updating already existing APIs. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> importApiPostWithHttpInfo(File file, Boolean preserveProvider, Boolean overwrite) throws ApiException
file - Zip archive consisting on exported api configuration (required)preserveProvider - Preserve Original Provider of the API. This is the user choice to keep or replace the API provider. (optional)overwrite - Whether to update the API or not. This is used when updating already existing APIs. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call importApiPostAsync(File file, Boolean preserveProvider, Boolean overwrite, ApiCallback<Void> _callback) throws ApiException
file - Zip archive consisting on exported api configuration (required)preserveProvider - Preserve Original Provider of the API. This is the user choice to keep or replace the API provider. (optional)overwrite - Whether to update the API or not. This is used when updating already existing APIs. (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 © 2021 WSO2 Inc. All rights reserved.