public class ImportConfigurationApi extends Object
| Constructor and Description |
|---|
ImportConfigurationApi() |
ImportConfigurationApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
APIList |
importApisPost(File file,
String provider)
Imports API(s).
|
com.squareup.okhttp.Call |
importApisPostAsync(File file,
String provider,
ApiCallback<APIList> callback)
Imports API(s).
|
com.squareup.okhttp.Call |
importApisPostCall(File file,
String provider,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importApisPost
|
ApiResponse<APIList> |
importApisPostWithHttpInfo(File file,
String provider)
Imports API(s).
|
APIList |
importApisPut(File file,
String provider)
Imports API(s).
|
com.squareup.okhttp.Call |
importApisPutAsync(File file,
String provider,
ApiCallback<APIList> callback)
Imports API(s).
|
com.squareup.okhttp.Call |
importApisPutCall(File file,
String provider,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importApisPut
|
ApiResponse<APIList> |
importApisPutWithHttpInfo(File file,
String provider)
Imports API(s).
|
void |
setApiClient(ApiClient apiClient) |
public ImportConfigurationApi()
public ImportConfigurationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call importApisPostCall(File file, String provider, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
file - Zip archive consisting on exported api configuration (required)provider - If defined, updates the existing provider of each API with the specified provider. This is to cater scenarios where the current API provider does not exist in the environment that the API is imported to. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIList importApisPost(File file, String provider) throws ApiException
file - Zip archive consisting on exported api configuration (required)provider - If defined, updates the existing provider of each API with the specified provider. This is to cater scenarios where the current API provider does not exist in the environment that the API is imported to. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIList> importApisPostWithHttpInfo(File file, String provider) throws ApiException
file - Zip archive consisting on exported api configuration (required)provider - If defined, updates the existing provider of each API with the specified provider. This is to cater scenarios where the current API provider does not exist in the environment that the API is imported to. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importApisPostAsync(File file, String provider, ApiCallback<APIList> callback) throws ApiException
file - Zip archive consisting on exported api configuration (required)provider - If defined, updates the existing provider of each API with the specified provider. This is to cater scenarios where the current API provider does not exist in the environment that the API is imported to. (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 com.squareup.okhttp.Call importApisPutCall(File file, String provider, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
file - Zip archive consisting on exported api configuration (required)provider - If defined, updates the existing provider of each API with the specified provider. This is to cater scenarios where the current API provider does not exist in the environment that the API is imported to. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIList importApisPut(File file, String provider) throws ApiException
file - Zip archive consisting on exported api configuration (required)provider - If defined, updates the existing provider of each API with the specified provider. This is to cater scenarios where the current API provider does not exist in the environment that the API is imported to. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIList> importApisPutWithHttpInfo(File file, String provider) throws ApiException
file - Zip archive consisting on exported api configuration (required)provider - If defined, updates the existing provider of each API with the specified provider. This is to cater scenarios where the current API provider does not exist in the environment that the API is imported to. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importApisPutAsync(File file, String provider, ApiCallback<APIList> callback) throws ApiException
file - Zip archive consisting on exported api configuration (required)provider - If defined, updates the existing provider of each API with the specified provider. This is to cater scenarios where the current API provider does not exist in the environment that the API is imported to. (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 © 2018 WSO2. All rights reserved.