Class BundleApi
java.lang.Object
co.permify.sdk.api.BundleApi
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class BundleApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbundleDelete(String tenantId, BundleDeleteBody body) delete bundlebundleDeleteWithHttpInfo(String tenantId, BundleDeleteBody body) delete bundlebundleRead(String tenantId, BundleReadBody body) read bundlebundleReadWithHttpInfo(String tenantId, BundleReadBody body) read bundlebundleWrite(String tenantId, BundleWriteBody body) write bundlebundleWriteWithHttpInfo(String tenantId, BundleWriteBody body) write bundleprotected ApiExceptiongetApiException(String operationId, HttpResponse<InputStream> response)
-
Constructor Details
-
BundleApi
public BundleApi() -
BundleApi
-
-
Method Details
-
getApiException
protected ApiException getApiException(String operationId, HttpResponse<InputStream> response) throws IOException - Throws:
IOException
-
bundleDelete
public BundleDeleteResponse bundleDelete(String tenantId, BundleDeleteBody body) throws ApiException delete 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:
- BundleDeleteResponse
- Throws:
ApiException- if fails to make API call
-
bundleDeleteWithHttpInfo
public ApiResponse<BundleDeleteResponse> bundleDeleteWithHttpInfo(String tenantId, BundleDeleteBody body) throws ApiException delete 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<BundleDeleteResponse>
- Throws:
ApiException- if fails to make API call
-
bundleRead
read 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:
- BundleReadResponse
- Throws:
ApiException- if fails to make API call
-
bundleReadWithHttpInfo
public ApiResponse<BundleReadResponse> bundleReadWithHttpInfo(String tenantId, BundleReadBody body) throws ApiException read 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<BundleReadResponse>
- Throws:
ApiException- if fails to make API call
-
bundleWrite
write 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:
- BundleWriteResponse
- Throws:
ApiException- if fails to make API call
-
bundleWriteWithHttpInfo
public ApiResponse<BundleWriteResponse> bundleWriteWithHttpInfo(String tenantId, BundleWriteBody body) throws ApiException write 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<BundleWriteResponse>
- Throws:
ApiException- if fails to make API call
-