Class DataApi

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

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

    • DataApi

      public DataApi()
    • DataApi

      public DataApi(ApiClient apiClient)
  • Method Details

    • getApiException

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

      public BundleRunResponse bundleRun(@Nonnull String tenantId, @Nonnull RunBundleBody body) throws ApiException
      run 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:
      BundleRunResponse
      Throws:
      ApiException - if fails to make API call
    • bundleRunWithHttpInfo

      public ApiResponse<BundleRunResponse> bundleRunWithHttpInfo(@Nonnull String tenantId, @Nonnull RunBundleBody body) throws ApiException
      run 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<BundleRunResponse>
      Throws:
      ApiException - if fails to make API call
    • dataAttributesRead

      public AttributeReadResponse dataAttributesRead(@Nonnull String tenantId, @Nonnull ReadAttributesBody body) throws ApiException
      read attributes
      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:
      AttributeReadResponse
      Throws:
      ApiException - if fails to make API call
    • dataAttributesReadWithHttpInfo

      public ApiResponse<AttributeReadResponse> dataAttributesReadWithHttpInfo(@Nonnull String tenantId, @Nonnull ReadAttributesBody body) throws ApiException
      read attributes
      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<AttributeReadResponse>
      Throws:
      ApiException - if fails to make API call
    • dataDelete

      public DataDeleteResponse dataDelete(@Nonnull String tenantId, @Nonnull DataDeleteBody body) throws ApiException
      delete data
      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:
      DataDeleteResponse
      Throws:
      ApiException - if fails to make API call
    • dataDeleteWithHttpInfo

      public ApiResponse<DataDeleteResponse> dataDeleteWithHttpInfo(@Nonnull String tenantId, @Nonnull DataDeleteBody body) throws ApiException
      delete data
      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<DataDeleteResponse>
      Throws:
      ApiException - if fails to make API call
    • dataRelationshipsRead

      public RelationshipReadResponse dataRelationshipsRead(@Nonnull String tenantId, @Nonnull ReadRelationshipsBody body) throws ApiException
      read relationships
      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:
      RelationshipReadResponse
      Throws:
      ApiException - if fails to make API call
    • dataRelationshipsReadWithHttpInfo

      public ApiResponse<RelationshipReadResponse> dataRelationshipsReadWithHttpInfo(@Nonnull String tenantId, @Nonnull ReadRelationshipsBody body) throws ApiException
      read relationships
      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<RelationshipReadResponse>
      Throws:
      ApiException - if fails to make API call
    • dataWrite

      public DataWriteResponse dataWrite(@Nonnull String tenantId, @Nonnull DataWriteBody body) throws ApiException
      write data
      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:
      DataWriteResponse
      Throws:
      ApiException - if fails to make API call
    • dataWriteWithHttpInfo

      public ApiResponse<DataWriteResponse> dataWriteWithHttpInfo(@Nonnull String tenantId, @Nonnull DataWriteBody body) throws ApiException
      write data
      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<DataWriteResponse>
      Throws:
      ApiException - if fails to make API call
    • relationshipsDelete

      public RelationshipDeleteResponse relationshipsDelete(@Nonnull String tenantId, @Nonnull DeleteRelationshipsBody body) throws ApiException
      delete relationships
      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:
      RelationshipDeleteResponse
      Throws:
      ApiException - if fails to make API call
    • relationshipsDeleteWithHttpInfo

      public ApiResponse<RelationshipDeleteResponse> relationshipsDeleteWithHttpInfo(@Nonnull String tenantId, @Nonnull DeleteRelationshipsBody body) throws ApiException
      delete relationships
      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<RelationshipDeleteResponse>
      Throws:
      ApiException - if fails to make API call
    • relationshipsWrite

      public RelationshipWriteResponse relationshipsWrite(@Nonnull String tenantId, @Nonnull WriteRelationshipsBody body) throws ApiException
      write relationships
      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:
      RelationshipWriteResponse
      Throws:
      ApiException - if fails to make API call
    • relationshipsWriteWithHttpInfo

      public ApiResponse<RelationshipWriteResponse> relationshipsWriteWithHttpInfo(@Nonnull String tenantId, @Nonnull WriteRelationshipsBody body) throws ApiException
      write relationships
      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<RelationshipWriteResponse>
      Throws:
      ApiException - if fails to make API call