Class PermissionApi
java.lang.Object
co.permify.sdk.api.PermissionApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.14.0")
public class PermissionApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response) permissionsCheck(String tenantId, PermissionCheckBody body) check apipermissionsCheckWithHttpInfo(String tenantId, PermissionCheckBody body) check apipermissionsExpand(String tenantId, PermissionExpandBody body) expand apipermissionsExpandWithHttpInfo(String tenantId, PermissionExpandBody body) expand apipermissionsLookupEntity(String tenantId, LookupEntityBody body) lookup entitypermissionsLookupEntityStream(String tenantId, LookupEntityStreamBody body) lookup entity streampermissionsLookupEntityStreamWithHttpInfo(String tenantId, LookupEntityStreamBody body) lookup entity streampermissionsLookupEntityWithHttpInfo(String tenantId, LookupEntityBody body) lookup entitypermissionsLookupSubject(String tenantId, LookupSubjectBody body) lookup-subjectpermissionsLookupSubjectWithHttpInfo(String tenantId, LookupSubjectBody body) lookup-subjectpermissionsSubjectPermission(String tenantId, SubjectPermissionBody body) subject permissionpermissionsSubjectPermissionWithHttpInfo(String tenantId, SubjectPermissionBody body) subject permission
-
Constructor Details
-
PermissionApi
public PermissionApi() -
PermissionApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
permissionsCheck
public PermissionCheckResponse permissionsCheck(@Nonnull String tenantId, @Nonnull PermissionCheckBody body) throws ApiException check api- 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:
- PermissionCheckResponse
- Throws:
ApiException- if fails to make API call
-
permissionsCheckWithHttpInfo
public ApiResponse<PermissionCheckResponse> permissionsCheckWithHttpInfo(@Nonnull String tenantId, @Nonnull PermissionCheckBody body) throws ApiException check api- 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<PermissionCheckResponse>
- Throws:
ApiException- if fails to make API call
-
permissionsExpand
public PermissionExpandResponse permissionsExpand(@Nonnull String tenantId, @Nonnull PermissionExpandBody body) throws ApiException expand api- 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:
- PermissionExpandResponse
- Throws:
ApiException- if fails to make API call
-
permissionsExpandWithHttpInfo
public ApiResponse<PermissionExpandResponse> permissionsExpandWithHttpInfo(@Nonnull String tenantId, @Nonnull PermissionExpandBody body) throws ApiException expand api- 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<PermissionExpandResponse>
- Throws:
ApiException- if fails to make API call
-
permissionsLookupEntity
public PermissionLookupEntityResponse permissionsLookupEntity(@Nonnull String tenantId, @Nonnull LookupEntityBody body) throws ApiException lookup entity- 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:
- PermissionLookupEntityResponse
- Throws:
ApiException- if fails to make API call
-
permissionsLookupEntityWithHttpInfo
public ApiResponse<PermissionLookupEntityResponse> permissionsLookupEntityWithHttpInfo(@Nonnull String tenantId, @Nonnull LookupEntityBody body) throws ApiException lookup entity- 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<PermissionLookupEntityResponse>
- Throws:
ApiException- if fails to make API call
-
permissionsLookupEntityStream
public StreamResultOfPermissionLookupEntityStreamResponse permissionsLookupEntityStream(@Nonnull String tenantId, @Nonnull LookupEntityStreamBody body) throws ApiException lookup entity stream- 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:
- StreamResultOfPermissionLookupEntityStreamResponse
- Throws:
ApiException- if fails to make API call
-
permissionsLookupEntityStreamWithHttpInfo
public ApiResponse<StreamResultOfPermissionLookupEntityStreamResponse> permissionsLookupEntityStreamWithHttpInfo(@Nonnull String tenantId, @Nonnull LookupEntityStreamBody body) throws ApiException lookup entity stream- 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<StreamResultOfPermissionLookupEntityStreamResponse>
- Throws:
ApiException- if fails to make API call
-
permissionsLookupSubject
public PermissionLookupSubjectResponse permissionsLookupSubject(@Nonnull String tenantId, @Nonnull LookupSubjectBody body) throws ApiException lookup-subject- 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:
- PermissionLookupSubjectResponse
- Throws:
ApiException- if fails to make API call
-
permissionsLookupSubjectWithHttpInfo
public ApiResponse<PermissionLookupSubjectResponse> permissionsLookupSubjectWithHttpInfo(@Nonnull String tenantId, @Nonnull LookupSubjectBody body) throws ApiException lookup-subject- 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<PermissionLookupSubjectResponse>
- Throws:
ApiException- if fails to make API call
-
permissionsSubjectPermission
public PermissionSubjectPermissionResponse permissionsSubjectPermission(@Nonnull String tenantId, @Nonnull SubjectPermissionBody body) throws ApiException subject permission- 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:
- PermissionSubjectPermissionResponse
- Throws:
ApiException- if fails to make API call
-
permissionsSubjectPermissionWithHttpInfo
public ApiResponse<PermissionSubjectPermissionResponse> permissionsSubjectPermissionWithHttpInfo(@Nonnull String tenantId, @Nonnull SubjectPermissionBody body) throws ApiException subject permission- 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<PermissionSubjectPermissionResponse>
- Throws:
ApiException- if fails to make API call
-