public class ApiProductIndividualApi extends Object
| Constructor and Description |
|---|
ApiProductIndividualApi() |
ApiProductIndividualApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
File |
exportApiProductGet(String name,
String version,
String providerName,
String format,
Boolean preserveStatus)
Export an API Product
This operation can be used to export the details of a particular API Product as a zip file.
|
com.squareup.okhttp.Call |
exportApiProductGetAsync(String name,
String version,
String providerName,
String format,
Boolean preserveStatus,
ApiCallback<File> callback)
Export an API Product (asynchronously)
This operation can be used to export the details of a particular API Product as a zip file.
|
com.squareup.okhttp.Call |
exportApiProductGetCall(String name,
String version,
String providerName,
String format,
Boolean preserveStatus,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for exportApiProductGet
|
ApiResponse<File> |
exportApiProductGetWithHttpInfo(String name,
String version,
String providerName,
String format,
Boolean preserveStatus)
Export an API Product
This operation can be used to export the details of a particular API Product as a zip file.
|
ApiClient |
getApiClient() |
void |
importApiProductPost(File file,
Boolean preserveProvider,
Boolean importAPIs,
Boolean overwriteAPIProduct,
Boolean overwriteAPIs)
Import an API Product
This operation can be used to import an API Product.
|
com.squareup.okhttp.Call |
importApiProductPostAsync(File file,
Boolean preserveProvider,
Boolean importAPIs,
Boolean overwriteAPIProduct,
Boolean overwriteAPIs,
ApiCallback<Void> callback)
Import an API Product (asynchronously)
This operation can be used to import an API Product.
|
com.squareup.okhttp.Call |
importApiProductPostCall(File file,
Boolean preserveProvider,
Boolean importAPIs,
Boolean overwriteAPIProduct,
Boolean overwriteAPIs,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importApiProductPost
|
ApiResponse<Void> |
importApiProductPostWithHttpInfo(File file,
Boolean preserveProvider,
Boolean importAPIs,
Boolean overwriteAPIProduct,
Boolean overwriteAPIs)
Import an API Product
This operation can be used to import an API Product.
|
void |
setApiClient(ApiClient apiClient) |
public ApiProductIndividualApi()
public ApiProductIndividualApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call exportApiProductGetCall(String name, String version, String providerName, String format, Boolean preserveStatus, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name - API Product Name (required)version - Version of the API Product (required)providerName - Provider name of the API Product (optional)format - Format of output documents. Can be YAML or JSON. (optional)preserveStatus - Preserve API Product Status on export (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic File exportApiProductGet(String name, String version, String providerName, String format, Boolean preserveStatus) throws ApiException
name - API Product Name (required)version - Version of the API Product (required)providerName - Provider name of the API Product (optional)format - Format of output documents. Can be YAML or JSON. (optional)preserveStatus - Preserve API Product Status on export (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> exportApiProductGetWithHttpInfo(String name, String version, String providerName, String format, Boolean preserveStatus) throws ApiException
name - API Product Name (required)version - Version of the API Product (required)providerName - Provider name of the API Product (optional)format - Format of output documents. Can be YAML or JSON. (optional)preserveStatus - Preserve API Product 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 exportApiProductGetAsync(String name, String version, String providerName, String format, Boolean preserveStatus, ApiCallback<File> callback) throws ApiException
name - API Product Name (required)version - Version of the API Product (required)providerName - Provider name of the API Product (optional)format - Format of output documents. Can be YAML or JSON. (optional)preserveStatus - Preserve API Product 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 com.squareup.okhttp.Call importApiProductPostCall(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
file - Zip archive consisting on exported API Product configuration (required)preserveProvider - Preserve Original Provider of the API Product. This is the user choice to keep or replace the API Product provider. (optional)importAPIs - Whether to import the dependent APIs or not. (optional)overwriteAPIProduct - Whether to update the API Product or not. This is used when updating already existing API Products. (optional)overwriteAPIs - Whether to update the dependent APIs or not. This is used when updating already existing dependent APIs of an API Product. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void importApiProductPost(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs) throws ApiException
file - Zip archive consisting on exported API Product configuration (required)preserveProvider - Preserve Original Provider of the API Product. This is the user choice to keep or replace the API Product provider. (optional)importAPIs - Whether to import the dependent APIs or not. (optional)overwriteAPIProduct - Whether to update the API Product or not. This is used when updating already existing API Products. (optional)overwriteAPIs - Whether to update the dependent APIs or not. This is used when updating already existing dependent APIs of an API Product. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> importApiProductPostWithHttpInfo(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs) throws ApiException
file - Zip archive consisting on exported API Product configuration (required)preserveProvider - Preserve Original Provider of the API Product. This is the user choice to keep or replace the API Product provider. (optional)importAPIs - Whether to import the dependent APIs or not. (optional)overwriteAPIProduct - Whether to update the API Product or not. This is used when updating already existing API Products. (optional)overwriteAPIs - Whether to update the dependent APIs or not. This is used when updating already existing dependent APIs of an API Product. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importApiProductPostAsync(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback<Void> callback) throws ApiException
file - Zip archive consisting on exported API Product configuration (required)preserveProvider - Preserve Original Provider of the API Product. This is the user choice to keep or replace the API Product provider. (optional)importAPIs - Whether to import the dependent APIs or not. (optional)overwriteAPIProduct - Whether to update the API Product or not. This is used when updating already existing API Products. (optional)overwriteAPIs - Whether to update the dependent APIs or not. This is used when updating already existing dependent APIs of an API Product. (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.