Class SchemaApi
java.lang.Object
co.permify.sdk.api.SchemaApi
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SchemaApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) schemasList(String tenantId, SchemaListBody body) list schemaschemasListWithHttpInfo(String tenantId, SchemaListBody body) list schemaschemasPartialWrite(String tenantId, PartialWriteBody body) partially update your authorization modelschemasPartialWriteWithHttpInfo(String tenantId, PartialWriteBody body) partially update your authorization modelschemasRead(String tenantId, SchemaReadBody body) read schemaschemasReadWithHttpInfo(String tenantId, SchemaReadBody body) read schemaschemasWrite(String tenantId, SchemaWriteBody body) write schemaschemasWriteWithHttpInfo(String tenantId, SchemaWriteBody body) write schema
-
Constructor Details
-
SchemaApi
public SchemaApi() -
SchemaApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
schemasList
list schema- 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:
- SchemaListResponse
- Throws:
ApiException- if fails to make API call
-
schemasListWithHttpInfo
public ApiResponse<SchemaListResponse> schemasListWithHttpInfo(String tenantId, SchemaListBody body) throws ApiException list schema- 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<SchemaListResponse>
- Throws:
ApiException- if fails to make API call
-
schemasPartialWrite
public SchemaPartialWriteResponse schemasPartialWrite(String tenantId, PartialWriteBody body) throws ApiException partially update your authorization model- Parameters:
tenantId- tenant_id is a string that identifies the tenant. It must match the pattern \"[a-zA-Z0-9-,]+\", be a maximum of 64 bytes, and must not be empty. (required)body- (required)- Returns:
- SchemaPartialWriteResponse
- Throws:
ApiException- if fails to make API call
-
schemasPartialWriteWithHttpInfo
public ApiResponse<SchemaPartialWriteResponse> schemasPartialWriteWithHttpInfo(String tenantId, PartialWriteBody body) throws ApiException partially update your authorization model- Parameters:
tenantId- tenant_id is a string that identifies the tenant. It must match the pattern \"[a-zA-Z0-9-,]+\", be a maximum of 64 bytes, and must not be empty. (required)body- (required)- Returns:
- ApiResponse<SchemaPartialWriteResponse>
- Throws:
ApiException- if fails to make API call
-
schemasRead
read schema- 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:
- SchemaReadResponse
- Throws:
ApiException- if fails to make API call
-
schemasReadWithHttpInfo
public ApiResponse<SchemaReadResponse> schemasReadWithHttpInfo(String tenantId, SchemaReadBody body) throws ApiException read schema- 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<SchemaReadResponse>
- Throws:
ApiException- if fails to make API call
-
schemasWrite
write schema- 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:
- SchemaWriteResponse
- Throws:
ApiException- if fails to make API call
-
schemasWriteWithHttpInfo
public ApiResponse<SchemaWriteResponse> schemasWriteWithHttpInfo(String tenantId, SchemaWriteBody body) throws ApiException write schema- 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<SchemaWriteResponse>
- Throws:
ApiException- if fails to make API call
-