public class WatchedDirResourceApi extends Object
Constructor and Description |
---|
WatchedDirResourceApi() |
WatchedDirResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiWatchedDir |
addWatchedDirectory(String clusterName,
String serviceName,
ApiWatchedDir body)
Adds a directory to the watching list.
|
com.squareup.okhttp.Call |
addWatchedDirectoryAsync(String clusterName,
String serviceName,
ApiWatchedDir body,
ApiCallback<ApiWatchedDir> callback)
Adds a directory to the watching list.
|
com.squareup.okhttp.Call |
addWatchedDirectoryCall(String clusterName,
String serviceName,
ApiWatchedDir body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for addWatchedDirectory
|
ApiResponse<ApiWatchedDir> |
addWatchedDirectoryWithHttpInfo(String clusterName,
String serviceName,
ApiWatchedDir body)
Adds a directory to the watching list.
|
ApiClient |
getApiClient() |
ApiWatchedDirList |
listWatchedDirectories(String clusterName,
String serviceName)
Lists all the watched directories.
|
com.squareup.okhttp.Call |
listWatchedDirectoriesAsync(String clusterName,
String serviceName,
ApiCallback<ApiWatchedDirList> callback)
Lists all the watched directories.
|
com.squareup.okhttp.Call |
listWatchedDirectoriesCall(String clusterName,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listWatchedDirectories
|
ApiResponse<ApiWatchedDirList> |
listWatchedDirectoriesWithHttpInfo(String clusterName,
String serviceName)
Lists all the watched directories.
|
ApiWatchedDir |
removeWatchedDirectory(String clusterName,
String directoryPath,
String serviceName)
Removes a directory from the watching list.
|
com.squareup.okhttp.Call |
removeWatchedDirectoryAsync(String clusterName,
String directoryPath,
String serviceName,
ApiCallback<ApiWatchedDir> callback)
Removes a directory from the watching list.
|
com.squareup.okhttp.Call |
removeWatchedDirectoryCall(String clusterName,
String directoryPath,
String serviceName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for removeWatchedDirectory
|
ApiResponse<ApiWatchedDir> |
removeWatchedDirectoryWithHttpInfo(String clusterName,
String directoryPath,
String serviceName)
Removes a directory from the watching list.
|
void |
setApiClient(ApiClient apiClient) |
public WatchedDirResourceApi()
public WatchedDirResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call addWatchedDirectoryCall(String clusterName, String serviceName, ApiWatchedDir body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- The directory to be added. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiWatchedDir addWatchedDirectory(String clusterName, String serviceName, ApiWatchedDir body) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- The directory to be added. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiWatchedDir> addWatchedDirectoryWithHttpInfo(String clusterName, String serviceName, ApiWatchedDir body) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- The directory to be added. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call addWatchedDirectoryAsync(String clusterName, String serviceName, ApiWatchedDir body, ApiCallback<ApiWatchedDir> callback) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)body
- The directory to be added. (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 listWatchedDirectoriesCall(String clusterName, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiWatchedDirList listWatchedDirectories(String clusterName, String serviceName) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiWatchedDirList> listWatchedDirectoriesWithHttpInfo(String clusterName, String serviceName) throws ApiException
clusterName
- (required)serviceName
- The service name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listWatchedDirectoriesAsync(String clusterName, String serviceName, ApiCallback<ApiWatchedDirList> callback) throws ApiException
clusterName
- (required)serviceName
- The service name. (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 removeWatchedDirectoryCall(String clusterName, String directoryPath, String serviceName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
clusterName
- (required)directoryPath
- The directory path to be removed. (required)serviceName
- The service name. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiWatchedDir removeWatchedDirectory(String clusterName, String directoryPath, String serviceName) throws ApiException
clusterName
- (required)directoryPath
- The directory path to be removed. (required)serviceName
- The service name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiWatchedDir> removeWatchedDirectoryWithHttpInfo(String clusterName, String directoryPath, String serviceName) throws ApiException
clusterName
- (required)directoryPath
- The directory path to be removed. (required)serviceName
- The service name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call removeWatchedDirectoryAsync(String clusterName, String directoryPath, String serviceName, ApiCallback<ApiWatchedDir> callback) throws ApiException
clusterName
- (required)directoryPath
- The directory path to be removed. (required)serviceName
- The service name. (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 objectCopyright © 2019. All rights reserved.