Class DefaultApi
java.lang.Object
org.wso2.am.integration.clients.gateway.api.v2.DefaultApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAPIArtifacts(String apiName, String version, String tenantDomain) Get API artifact from the storage This operation is used to get the local entries, sequences and endpoints from the storage.com.squareup.okhttp.CallgetAPIArtifactsAsync(String apiName, String version, String tenantDomain, ApiCallback<APIArtifactDTO> callback) Get API artifact from the storage (asynchronously) This operation is used to get the local entries, sequences and endpoints from the storage.com.squareup.okhttp.CallgetAPIArtifactsCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getAPIArtifactsgetAPIArtifactsWithHttpInfo(String apiName, String version, String tenantDomain) Get API artifact from the storage This operation is used to get the local entries, sequences and endpoints from the storage.getEndpoints(String apiName, String version, String tenantDomain) Get end-points from the storage for the API This operation is used to get the end-points from the storage.com.squareup.okhttp.CallgetEndpointsAsync(String apiName, String version, String tenantDomain, ApiCallback<EndpointsDTO> callback) Get end-points from the storage for the API (asynchronously) This operation is used to get the end-points from the storage.com.squareup.okhttp.CallgetEndpointsCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getEndpointsgetEndpointsWithHttpInfo(String apiName, String version, String tenantDomain) Get end-points from the storage for the API This operation is used to get the end-points from the storage.getLocalEntries(String apiName, String version, String tenantDomain) Get Local Entry from the storage This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.com.squareup.okhttp.CallgetLocalEntriesAsync(String apiName, String version, String tenantDomain, ApiCallback<LocalEntryDTO> callback) Get Local Entry from the storage (asynchronously) This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.com.squareup.okhttp.CallgetLocalEntriesCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getLocalEntriesgetLocalEntriesWithHttpInfo(String apiName, String version, String tenantDomain) Get Local Entry from the storage This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.getSequences(String apiName, String version, String tenantDomain) Get sequences from the storage This operation is used to get the API sequence from the storage.com.squareup.okhttp.CallgetSequencesAsync(String apiName, String version, String tenantDomain, ApiCallback<SequencesDTO> callback) Get sequences from the storage (asynchronously) This operation is used to get the API sequence from the storage.com.squareup.okhttp.CallgetSequencesCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for getSequencesgetSequencesWithHttpInfo(String apiName, String version, String tenantDomain) Get sequences from the storage This operation is used to get the API sequence from the storage.redployAPI(String apiName, String version, String tenantDomain) Re Deploy the API in the gateway This operation is used to re deploy an API in the gateway.com.squareup.okhttp.CallredployAPIAsync(String apiName, String version, String tenantDomain, ApiCallback<DeployResponseDTO> callback) Re Deploy the API in the gateway (asynchronously) This operation is used to re deploy an API in the gateway.com.squareup.okhttp.CallredployAPICall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for redployAPIredployAPIWithHttpInfo(String apiName, String version, String tenantDomain) Re Deploy the API in the gateway This operation is used to re deploy an API in the gateway.voidHealth check to check if all the API are deployed during the server startup Health check to check if all the API are deployed during the server startupcom.squareup.okhttp.CallserverStartupHealthcheckGetAsync(ApiCallback<Void> callback) Health check to check if all the API are deployed during the server startup (asynchronously) Health check to check if all the API are deployed during the server startupcom.squareup.okhttp.CallserverStartupHealthcheckGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for serverStartupHealthcheckGetHealth check to check if all the API are deployed during the server startup Health check to check if all the API are deployed during the server startupvoidsetApiClient(ApiClient apiClient) undeployAPI(String apiName, String version, String tenantDomain) Uneploy the API in the gateway This operation is used to undeploy an API in the gateway.com.squareup.okhttp.CallundeployAPIAsync(String apiName, String version, String tenantDomain, ApiCallback<DeployResponseDTO> callback) Uneploy the API in the gateway (asynchronously) This operation is used to undeploy an API in the gateway.com.squareup.okhttp.CallundeployAPICall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) Build call for undeployAPIundeployAPIWithHttpInfo(String apiName, String version, String tenantDomain) Uneploy the API in the gateway This operation is used to undeploy an API in the gateway.
-
Constructor Details
-
DefaultApi
public DefaultApi() -
DefaultApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAPIArtifactsCall
public com.squareup.okhttp.Call getAPIArtifactsCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getAPIArtifacts- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIArtifacts
public APIArtifactDTO getAPIArtifacts(String apiName, String version, String tenantDomain) throws ApiException Get API artifact from the storage This operation is used to get the local entries, sequences and endpoints from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- APIArtifactDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIArtifactsWithHttpInfo
public ApiResponse<APIArtifactDTO> getAPIArtifactsWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException Get API artifact from the storage This operation is used to get the local entries, sequences and endpoints from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- ApiResponse<APIArtifactDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIArtifactsAsync
public com.squareup.okhttp.Call getAPIArtifactsAsync(String apiName, String version, String tenantDomain, ApiCallback<APIArtifactDTO> callback) throws ApiException Get API artifact from the storage (asynchronously) This operation is used to get the local entries, sequences and endpoints from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (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
-
getEndpointsCall
public com.squareup.okhttp.Call getEndpointsCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getEndpoints- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getEndpoints
public EndpointsDTO getEndpoints(String apiName, String version, String tenantDomain) throws ApiException Get end-points from the storage for the API This operation is used to get the end-points from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- EndpointsDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getEndpointsWithHttpInfo
public ApiResponse<EndpointsDTO> getEndpointsWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException Get end-points from the storage for the API This operation is used to get the end-points from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- ApiResponse<EndpointsDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getEndpointsAsync
public com.squareup.okhttp.Call getEndpointsAsync(String apiName, String version, String tenantDomain, ApiCallback<EndpointsDTO> callback) throws ApiException Get end-points from the storage for the API (asynchronously) This operation is used to get the end-points from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (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
-
getLocalEntriesCall
public com.squareup.okhttp.Call getLocalEntriesCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getLocalEntries- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getLocalEntries
public LocalEntryDTO getLocalEntries(String apiName, String version, String tenantDomain) throws ApiException Get Local Entry from the storage This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- LocalEntryDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getLocalEntriesWithHttpInfo
public ApiResponse<LocalEntryDTO> getLocalEntriesWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException Get Local Entry from the storage This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- ApiResponse<LocalEntryDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getLocalEntriesAsync
public com.squareup.okhttp.Call getLocalEntriesAsync(String apiName, String version, String tenantDomain, ApiCallback<LocalEntryDTO> callback) throws ApiException Get Local Entry from the storage (asynchronously) This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (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
-
getSequencesCall
public com.squareup.okhttp.Call getSequencesCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for getSequences- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getSequences
public SequencesDTO getSequences(String apiName, String version, String tenantDomain) throws ApiException Get sequences from the storage This operation is used to get the API sequence from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- SequencesDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSequencesWithHttpInfo
public ApiResponse<SequencesDTO> getSequencesWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException Get sequences from the storage This operation is used to get the API sequence from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- ApiResponse<SequencesDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getSequencesAsync
public com.squareup.okhttp.Call getSequencesAsync(String apiName, String version, String tenantDomain, ApiCallback<SequencesDTO> callback) throws ApiException Get sequences from the storage (asynchronously) This operation is used to get the API sequence from the storage. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (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
-
redployAPICall
public com.squareup.okhttp.Call redployAPICall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for redployAPI- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
redployAPI
public DeployResponseDTO redployAPI(String apiName, String version, String tenantDomain) throws ApiException Re Deploy the API in the gateway This operation is used to re deploy an API in the gateway. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- DeployResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
redployAPIWithHttpInfo
public ApiResponse<DeployResponseDTO> redployAPIWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException Re Deploy the API in the gateway This operation is used to re deploy an API in the gateway. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- ApiResponse<DeployResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
redployAPIAsync
public com.squareup.okhttp.Call redployAPIAsync(String apiName, String version, String tenantDomain, ApiCallback<DeployResponseDTO> callback) throws ApiException Re Deploy the API in the gateway (asynchronously) This operation is used to re deploy an API in the gateway. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (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
-
serverStartupHealthcheckGetCall
public com.squareup.okhttp.Call serverStartupHealthcheckGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for serverStartupHealthcheckGet- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
serverStartupHealthcheckGet
Health check to check if all the API are deployed during the server startup Health check to check if all the API are deployed during the server startup- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
serverStartupHealthcheckGetWithHttpInfo
Health check to check if all the API are deployed during the server startup Health check to check if all the API are deployed during the server startup- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
serverStartupHealthcheckGetAsync
public com.squareup.okhttp.Call serverStartupHealthcheckGetAsync(ApiCallback<Void> callback) throws ApiException Health check to check if all the API are deployed during the server startup (asynchronously) Health check to check if all the API are deployed during the server startup- Parameters:
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
-
undeployAPICall
public com.squareup.okhttp.Call undeployAPICall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException Build call for undeployAPI- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
undeployAPI
public DeployResponseDTO undeployAPI(String apiName, String version, String tenantDomain) throws ApiException Uneploy the API in the gateway This operation is used to undeploy an API in the gateway. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- DeployResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
undeployAPIWithHttpInfo
public ApiResponse<DeployResponseDTO> undeployAPIWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException Uneploy the API in the gateway This operation is used to undeploy an API in the gateway. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (optional)- Returns:
- ApiResponse<DeployResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
undeployAPIAsync
public com.squareup.okhttp.Call undeployAPIAsync(String apiName, String version, String tenantDomain, ApiCallback<DeployResponseDTO> callback) throws ApiException Uneploy the API in the gateway (asynchronously) This operation is used to undeploy an API in the gateway. If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.- Parameters:
apiName- Name of the API (required)version- version of the API (required)tenantDomain- Tenant Domain of the API (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
-