Class WatchApi
java.lang.Object
co.permify.sdk.api.WatchApi
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class WatchApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) watchWatch(String tenantId, WatchBody body) watch changeswatchWatchWithHttpInfo(String tenantId, WatchBody body) watch changes
-
Constructor Details
-
WatchApi
public WatchApi() -
WatchApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
watchWatch
watch changes- Parameters:
tenantId- Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)body- (required)- Returns:
- StreamResultOfWatchResponse
- Throws:
ApiException- if fails to make API call
-
watchWatchWithHttpInfo
public ApiResponse<StreamResultOfWatchResponse> watchWatchWithHttpInfo(String tenantId, WatchBody body) throws ApiException watch changes- Parameters:
tenantId- Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)body- (required)- Returns:
- ApiResponse<StreamResultOfWatchResponse>
- Throws:
ApiException- if fails to make API call
-