Class BundleApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class BundleApi extends Object
  • Constructor Details

    • BundleApi

      public BundleApi()
    • BundleApi

      public BundleApi(ApiClient apiClient)
  • Method Details

    • getApiException

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

      public BundleDeleteResponse bundleDelete(@Nonnull String tenantId, @Nonnull BundleDeleteBody body) throws ApiException
      delete bundle
      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:
      BundleDeleteResponse
      Throws:
      ApiException - if fails to make API call
    • bundleDeleteWithHttpInfo

      public ApiResponse<BundleDeleteResponse> bundleDeleteWithHttpInfo(@Nonnull String tenantId, @Nonnull BundleDeleteBody body) throws ApiException
      delete bundle
      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<BundleDeleteResponse>
      Throws:
      ApiException - if fails to make API call
    • bundleRead

      public BundleReadResponse bundleRead(@Nonnull String tenantId, @Nonnull BundleReadBody body) throws ApiException
      read bundle
      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:
      BundleReadResponse
      Throws:
      ApiException - if fails to make API call
    • bundleReadWithHttpInfo

      public ApiResponse<BundleReadResponse> bundleReadWithHttpInfo(@Nonnull String tenantId, @Nonnull BundleReadBody body) throws ApiException
      read bundle
      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<BundleReadResponse>
      Throws:
      ApiException - if fails to make API call
    • bundleWrite

      public BundleWriteResponse bundleWrite(@Nonnull String tenantId, @Nonnull BundleWriteBody body) throws ApiException
      write bundle
      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:
      BundleWriteResponse
      Throws:
      ApiException - if fails to make API call
    • bundleWriteWithHttpInfo

      public ApiResponse<BundleWriteResponse> bundleWriteWithHttpInfo(@Nonnull String tenantId, @Nonnull BundleWriteBody body) throws ApiException
      write bundle
      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<BundleWriteResponse>
      Throws:
      ApiException - if fails to make API call