Class DataApi
java.lang.Object
co.permify.sdk.api.DataApi
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
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
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
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
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
-