public class CdpResourceApi extends Object
Constructor and Description |
---|
CdpResourceApi() |
CdpResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
ApiRemoteDataContext |
getRemoteContext(String dataContextName)
Get a JSON for creating a remote data context in a Workload cluster.
|
com.squareup.okhttp.Call |
getRemoteContextAsync(String dataContextName,
ApiCallback<ApiRemoteDataContext> callback)
Get a JSON for creating a remote data context in a Workload cluster.
|
ApiRemoteDataContext |
getRemoteContextByCluster(String clusterName)
Get a JSON for creating a remote data context in a Workload cluster.
|
com.squareup.okhttp.Call |
getRemoteContextByClusterAsync(String clusterName,
ApiCallback<ApiRemoteDataContext> callback)
Get a JSON for creating a remote data context in a Workload cluster.
|
com.squareup.okhttp.Call |
getRemoteContextByClusterCall(String clusterName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getRemoteContextByCluster
|
ApiResponse<ApiRemoteDataContext> |
getRemoteContextByClusterWithHttpInfo(String clusterName)
Get a JSON for creating a remote data context in a Workload cluster.
|
com.squareup.okhttp.Call |
getRemoteContextCall(String dataContextName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getRemoteContext
|
ApiResponse<ApiRemoteDataContext> |
getRemoteContextWithHttpInfo(String dataContextName)
Get a JSON for creating a remote data context in a Workload cluster.
|
ApiRemoteDataContext |
postRemoteContext(ApiRemoteDataContext body)
Create or update the remote data context in the Workload cluster.
|
com.squareup.okhttp.Call |
postRemoteContextAsync(ApiRemoteDataContext body,
ApiCallback<ApiRemoteDataContext> callback)
Create or update the remote data context in the Workload cluster.
|
com.squareup.okhttp.Call |
postRemoteContextCall(ApiRemoteDataContext body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for postRemoteContext
|
ApiResponse<ApiRemoteDataContext> |
postRemoteContextWithHttpInfo(ApiRemoteDataContext body)
Create or update the remote data context in the Workload cluster.
|
void |
setApiClient(ApiClient apiClient) |
public CdpResourceApi()
public CdpResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getRemoteContextCall(String dataContextName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dataContextName
- The name of the DataContext. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRemoteDataContext getRemoteContext(String dataContextName) throws ApiException
dataContextName
- The name of the DataContext. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRemoteDataContext> getRemoteContextWithHttpInfo(String dataContextName) throws ApiException
dataContextName
- The name of the DataContext. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getRemoteContextAsync(String dataContextName, ApiCallback<ApiRemoteDataContext> callback) throws ApiException
dataContextName
- The name of the DataContext. (required)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 getRemoteContextByClusterCall(String clusterName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- The name of the DataContext. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRemoteDataContext getRemoteContextByCluster(String clusterName) throws ApiException
clusterName
- The name of the DataContext. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRemoteDataContext> getRemoteContextByClusterWithHttpInfo(String clusterName) throws ApiException
clusterName
- The name of the DataContext. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getRemoteContextByClusterAsync(String clusterName, ApiCallback<ApiRemoteDataContext> callback) throws ApiException
clusterName
- The name of the DataContext. (required)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 postRemoteContextCall(ApiRemoteDataContext body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiRemoteDataContext postRemoteContext(ApiRemoteDataContext body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiRemoteDataContext> postRemoteContextWithHttpInfo(ApiRemoteDataContext body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postRemoteContextAsync(ApiRemoteDataContext body, ApiCallback<ApiRemoteDataContext> callback) throws ApiException
body
- (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. All rights reserved.