public class ModificationNotificationsApi extends Object
Constructor and Description |
---|
ModificationNotificationsApi() |
ModificationNotificationsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
acknowledgeNotification(String workspaceId,
Integer notificationId,
ModificationNotificationDTO body)
Acknowledge a modification notification
|
com.squareup.okhttp.Call |
acknowledgeNotificationAsync(String workspaceId,
Integer notificationId,
ModificationNotificationDTO body,
ApiCallback<Void> callback)
Acknowledge a modification notification (asynchronously)
|
ApiResponse<Void> |
acknowledgeNotificationWithHttpInfo(String workspaceId,
Integer notificationId,
ModificationNotificationDTO body)
Acknowledge a modification notification
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public ModificationNotificationsApi()
public ModificationNotificationsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void acknowledgeNotification(String workspaceId, Integer notificationId, ModificationNotificationDTO body) throws ApiException
workspaceId
- Workspace idnotificationId
- Notification idbody
- Modification notification to acknowledgeApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> acknowledgeNotificationWithHttpInfo(String workspaceId, Integer notificationId, ModificationNotificationDTO body) throws ApiException
workspaceId
- Workspace idnotificationId
- Notification idbody
- Modification notification to acknowledgeApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call acknowledgeNotificationAsync(String workspaceId, Integer notificationId, ModificationNotificationDTO body, ApiCallback<Void> callback) throws ApiException
workspaceId
- Workspace idnotificationId
- Notification idbody
- Modification notification to acknowledgecallback
- 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.