public class GenesysApi extends Object
| Constructor and Description |
|---|
GenesysApi() |
GenesysApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
List<UpdatedTarget> |
registerGenesysAsTarget(UpdateTargets targets)
Add Genesys as target URL to specified DOIs
We'll have fun!
|
com.squareup.okhttp.Call |
registerGenesysAsTargetAsync(UpdateTargets targets,
ApiCallback<List<UpdatedTarget>> callback)
Add Genesys as target URL to specified DOIs (asynchronously)
We'll have fun!
|
com.squareup.okhttp.Call |
registerGenesysAsTargetCall(UpdateTargets targets,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for registerGenesysAsTarget
|
ApiResponse<List<UpdatedTarget>> |
registerGenesysAsTargetWithHttpInfo(UpdateTargets targets)
Add Genesys as target URL to specified DOIs
We'll have fun!
|
void |
setApiClient(ApiClient apiClient) |
public GenesysApi()
public GenesysApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call registerGenesysAsTargetCall(UpdateTargets targets, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
targets - Registers Genesys as a target URL for specified DOIs (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic List<UpdatedTarget> registerGenesysAsTarget(UpdateTargets targets) throws ApiException
targets - Registers Genesys as a target URL for specified DOIs (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<UpdatedTarget>> registerGenesysAsTargetWithHttpInfo(UpdateTargets targets) throws ApiException
targets - Registers Genesys as a target URL for specified DOIs (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call registerGenesysAsTargetAsync(UpdateTargets targets, ApiCallback<List<UpdatedTarget>> callback) throws ApiException
targets - Registers Genesys as a target URL for specified DOIs (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 © 2018 Global Crop Diversity Trust. All rights reserved.