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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbundleRun(String tenantId, RunBundleBody body) run bundlebundleRunWithHttpInfo(String tenantId, RunBundleBody body) run bundledataAttributesRead(String tenantId, ReadAttributesBody body) read attributesdataAttributesReadWithHttpInfo(String tenantId, ReadAttributesBody body) read attributesdataDelete(String tenantId, DataDeleteBody body) delete datadataDeleteWithHttpInfo(String tenantId, DataDeleteBody body) delete datadataRelationshipsRead(String tenantId, ReadRelationshipsBody body) read relationshipsdataRelationshipsReadWithHttpInfo(String tenantId, ReadRelationshipsBody body) read relationshipsdataWrite(String tenantId, DataWriteBody body) write datadataWriteWithHttpInfo(String tenantId, DataWriteBody body) write dataprotected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) relationshipsDelete(String tenantId, DeleteRelationshipsBody body) delete relationshipsrelationshipsDeleteWithHttpInfo(String tenantId, DeleteRelationshipsBody body) delete relationshipsrelationshipsWrite(String tenantId, WriteRelationshipsBody body) write relationshipsrelationshipsWriteWithHttpInfo(String tenantId, WriteRelationshipsBody body) write relationships
-
Constructor Details
-
DataApi
public DataApi() -
DataApi
-
-
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
-