Class ApiProductIndividualApi
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.ApiProductIndividualApi
-
public class ApiProductIndividualApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ApiProductIndividualApi()ApiProductIndividualApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileexportApiProductGet(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.CallexportApiProductGetAsync(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.CallexportApiProductGetCall(String name, String version, String providerName, String format, Boolean preserveStatus, ApiCallback _callback)Build call for exportApiProductGetApiResponse<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.ApiClientgetApiClient()voidimportApiProductPost(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.CallimportApiProductPostAsync(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.CallimportApiProductPostCall(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback _callback)Build call for importApiProductPostApiResponse<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.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ApiProductIndividualApi
public ApiProductIndividualApi()
-
ApiProductIndividualApi
public ApiProductIndividualApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
exportApiProductGetCall
public okhttp3.Call exportApiProductGetCall(String name, String version, String providerName, String format, Boolean preserveStatus, ApiCallback _callback) throws ApiException
Build call for exportApiProductGet- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
exportApiProductGet
public File exportApiProductGet(String name, String version, String providerName, String format, Boolean preserveStatus) throws ApiException
Export an API Product This operation can be used to export the details of a particular API Product as a zip file.- Parameters:
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)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportApiProductGetWithHttpInfo
public ApiResponse<File> exportApiProductGetWithHttpInfo(String name, String version, String providerName, String format, Boolean preserveStatus) throws ApiException
Export an API Product This operation can be used to export the details of a particular API Product as a zip file.- Parameters:
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)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportApiProductGetAsync
public okhttp3.Call exportApiProductGetAsync(String name, String version, String providerName, String format, Boolean preserveStatus, ApiCallback<File> _callback) throws ApiException
Export an API Product (asynchronously) This operation can be used to export the details of a particular API Product as a zip file.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
importApiProductPostCall
public okhttp3.Call importApiProductPostCall(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback _callback) throws ApiException
Build call for importApiProductPost- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
importApiProductPost
public void importApiProductPost(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs) throws ApiException
Import an API Product This operation can be used to import an API Product.- Parameters:
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)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importApiProductPostWithHttpInfo
public ApiResponse<Void> importApiProductPostWithHttpInfo(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs) throws ApiException
Import an API Product This operation can be used to import an API Product.- Parameters:
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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importApiProductPostAsync
public okhttp3.Call importApiProductPostAsync(File file, Boolean preserveProvider, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback<Void> _callback) throws ApiException
Import an API Product (asynchronously) This operation can be used to import an API Product.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-