Class SchemaApi
java.lang.Object
co.permify.sdk.api.SchemaApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
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
public SchemaListResponse schemasList(@Nonnull String tenantId, @Nonnull 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:
- SchemaListResponse
- Throws:
ApiException- if fails to make API call
-
schemasListWithHttpInfo
public ApiResponse<SchemaListResponse> schemasListWithHttpInfo(@Nonnull String tenantId, @Nonnull 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(@Nonnull String tenantId, @Nonnull 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(@Nonnull String tenantId, @Nonnull 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
public SchemaReadResponse schemasRead(@Nonnull String tenantId, @Nonnull 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:
- SchemaReadResponse
- Throws:
ApiException- if fails to make API call
-
schemasReadWithHttpInfo
public ApiResponse<SchemaReadResponse> schemasReadWithHttpInfo(@Nonnull String tenantId, @Nonnull 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
public SchemaWriteResponse schemasWrite(@Nonnull String tenantId, @Nonnull 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:
- SchemaWriteResponse
- Throws:
ApiException- if fails to make API call
-
schemasWriteWithHttpInfo
public ApiResponse<SchemaWriteResponse> schemasWriteWithHttpInfo(@Nonnull String tenantId, @Nonnull 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
-