public class DataContextsResourceApi extends Object
Constructor and Description |
---|
DataContextsResourceApi() |
DataContextsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiDataContext |
createDataContext(ApiDataContext body)
Create a datacontext.
|
com.squareup.okhttp.Call |
createDataContextAsync(ApiDataContext body,
ApiCallback<ApiDataContext> callback)
Create a datacontext.
|
com.squareup.okhttp.Call |
createDataContextCall(ApiDataContext body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createDataContext
|
ApiResponse<ApiDataContext> |
createDataContextWithHttpInfo(ApiDataContext body)
Create a datacontext.
|
ApiDataContext |
deleteDataContext(String dataContextName)
Delete a datacontext.
|
com.squareup.okhttp.Call |
deleteDataContextAsync(String dataContextName,
ApiCallback<ApiDataContext> callback)
Delete a datacontext.
|
com.squareup.okhttp.Call |
deleteDataContextCall(String dataContextName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteDataContext
|
ApiResponse<ApiDataContext> |
deleteDataContextWithHttpInfo(String dataContextName)
Delete a datacontext.
|
ApiClient |
getApiClient() |
ApiDataContext |
readDataContext(String dataContextName)
Reads information about a datacontext.
|
com.squareup.okhttp.Call |
readDataContextAsync(String dataContextName,
ApiCallback<ApiDataContext> callback)
Reads information about a datacontext.
|
com.squareup.okhttp.Call |
readDataContextCall(String dataContextName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readDataContext
|
ApiDataContextList |
readDataContexts()
Get all the datacontexts.
|
com.squareup.okhttp.Call |
readDataContextsAsync(ApiCallback<ApiDataContextList> callback)
Get all the datacontexts.
|
com.squareup.okhttp.Call |
readDataContextsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readDataContexts
|
ApiResponse<ApiDataContextList> |
readDataContextsWithHttpInfo()
Get all the datacontexts.
|
ApiResponse<ApiDataContext> |
readDataContextWithHttpInfo(String dataContextName)
Reads information about a datacontext.
|
void |
setApiClient(ApiClient apiClient) |
public DataContextsResourceApi()
public DataContextsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createDataContextCall(ApiDataContext body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- DataContext to be created. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDataContext createDataContext(ApiDataContext body) throws ApiException
body
- DataContext to be created. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDataContext> createDataContextWithHttpInfo(ApiDataContext body) throws ApiException
body
- DataContext to be created. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createDataContextAsync(ApiDataContext body, ApiCallback<ApiDataContext> callback) throws ApiException
body
- DataContext to be created. (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 deleteDataContextCall(String dataContextName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dataContextName
- Name of the datacontext. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDataContext deleteDataContext(String dataContextName) throws ApiException
dataContextName
- Name of the datacontext. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDataContext> deleteDataContextWithHttpInfo(String dataContextName) throws ApiException
dataContextName
- 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 deleteDataContextAsync(String dataContextName, ApiCallback<ApiDataContext> callback) throws ApiException
dataContextName
- 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 readDataContextCall(String dataContextName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
dataContextName
- Name of the datacontext. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDataContext readDataContext(String dataContextName) throws ApiException
dataContextName
- Name of the datacontext. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDataContext> readDataContextWithHttpInfo(String dataContextName) throws ApiException
dataContextName
- 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 readDataContextAsync(String dataContextName, ApiCallback<ApiDataContext> callback) throws ApiException
dataContextName
- 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 readDataContextsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiDataContextList readDataContexts() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiDataContextList> readDataContextsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readDataContextsAsync(ApiCallback<ApiDataContextList> callback) throws ApiException
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 © 2019. All rights reserved.