public class EffectivityApi extends Object
Constructor and Description |
---|
EffectivityApi() |
EffectivityApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiClient |
getApiClient() |
EffectivityDTO |
getEffectivity(String workspaceId,
Integer effectivityId)
Get an effectivity from its ID
|
com.squareup.okhttp.Call |
getEffectivityAsync(String workspaceId,
Integer effectivityId,
ApiCallback<EffectivityDTO> callback)
Get an effectivity from its ID (asynchronously)
|
ApiResponse<EffectivityDTO> |
getEffectivityWithHttpInfo(String workspaceId,
Integer effectivityId)
Get an effectivity from its ID
|
void |
setApiClient(ApiClient apiClient) |
EffectivityDTO |
updateEffectivity(String workspaceId,
Integer effectivityId,
EffectivityDTO body)
Update effectivity
|
com.squareup.okhttp.Call |
updateEffectivityAsync(String workspaceId,
Integer effectivityId,
EffectivityDTO body,
ApiCallback<EffectivityDTO> callback)
Update effectivity (asynchronously)
|
ApiResponse<EffectivityDTO> |
updateEffectivityWithHttpInfo(String workspaceId,
Integer effectivityId,
EffectivityDTO body)
Update effectivity
|
public EffectivityApi()
public EffectivityApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public EffectivityDTO getEffectivity(String workspaceId, Integer effectivityId) throws ApiException
workspaceId
- Workspace ideffectivityId
- Effectivity idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EffectivityDTO> getEffectivityWithHttpInfo(String workspaceId, Integer effectivityId) throws ApiException
workspaceId
- Workspace ideffectivityId
- Effectivity idApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEffectivityAsync(String workspaceId, Integer effectivityId, ApiCallback<EffectivityDTO> callback) throws ApiException
workspaceId
- Workspace ideffectivityId
- Effectivity idcallback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic EffectivityDTO updateEffectivity(String workspaceId, Integer effectivityId, EffectivityDTO body) throws ApiException
workspaceId
- Workspace ideffectivityId
- Effectivity idbody
- Effectivity values to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EffectivityDTO> updateEffectivityWithHttpInfo(String workspaceId, Integer effectivityId, EffectivityDTO body) throws ApiException
workspaceId
- Workspace ideffectivityId
- Effectivity idbody
- Effectivity values to updateApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateEffectivityAsync(String workspaceId, Integer effectivityId, EffectivityDTO body, ApiCallback<EffectivityDTO> callback) throws ApiException
workspaceId
- Workspace ideffectivityId
- Effectivity idbody
- Effectivity values to updatecallback
- 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 DocDoku. All rights reserved.