Class DataApi

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

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