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.
|
okhttp3.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.
|
okhttp3.Call |
exportApiProductGetCall(String name,
String version,
String providerName,
String format,
Boolean preserveStatus,
ApiCallback _callback)
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.
|
okhttp3.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.
|
okhttp3.Call |
importApiProductPostCall(File file,
Boolean preserveProvider,
Boolean importAPIs,
Boolean overwriteAPIProduct,
Boolean overwriteAPIs,
ApiCallback _callback)
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 okhttp3.Call exportApiProductGetCall(String name, String version, String providerName, String format, Boolean preserveStatus, ApiCallback _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 - Callback for upload/download progressApiException - 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 okhttp3.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 okhttp3.Call importApiProductPostCall(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback _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 - Callback for upload/download progressApiException - 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 okhttp3.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 © 2021 WSO2 Inc. All rights reserved.