public class WatchersApi extends Object
| Constructor and Description |
|---|
WatchersApi() |
WatchersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
WatcherResponse |
createWatcher(Watcher body)
createWatcher
Endpoint to create a watcher.
|
WatcherResponse |
deleteWatcher(String id)
deleteWatcher
Enpoint to delete a watcher.
|
ApiClient |
getApiClient() |
WatcherListResponse |
getWatchers()
getWatchers
Endpoint to get all watchers.
|
SubscriptionListResponse |
getWatcherSubscription(String id)
getWatcherSubscription
Endpoint to list the subscription.
|
void |
setApiClient(ApiClient apiClient) |
WatcherResponse |
updateWatcher(String id,
Watcher body)
updateWatcher
Endpoint to update a watcher
|
public WatchersApi()
public WatchersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public WatcherResponse createWatcher(Watcher body) throws ApiException
body - (required)ApiException - if fails to make API callpublic WatcherResponse deleteWatcher(String id) throws ApiException
id - (required)ApiException - if fails to make API callpublic SubscriptionListResponse getWatcherSubscription(String id) throws ApiException
id - (required)ApiException - if fails to make API callpublic WatcherListResponse getWatchers() throws ApiException
ApiException - if fails to make API callpublic WatcherResponse updateWatcher(String id, Watcher body) throws ApiException
id - (required)body - (required)ApiException - if fails to make API callCopyright © 2017 LeanIX GmbH. All rights reserved.