Class WatchApi

java.lang.Object
co.permify.sdk.api.WatchApi

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class WatchApi extends Object
  • Constructor Details

    • WatchApi

      public WatchApi()
    • WatchApi

      public WatchApi(ApiClient apiClient)
  • Method Details

    • getApiException

      protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException
      Throws:
      IOException
    • watchWatch

      public StreamResultOfWatchResponse watchWatch(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:
      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