Class BundleApi

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

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") 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(String tenantId, 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(String tenantId, 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(String tenantId, 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(String tenantId, 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(String tenantId, 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(String tenantId, 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