Package com.mypurecloud.sdk.v2.api
Class DataPrivacyApi
java.lang.Object
com.mypurecloud.sdk.v2.api.DataPrivacyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDelete a masking rule.deleteDataprivacyMaskingrule(ApiRequest<Void> request) Delete a masking rule.voiddeleteDataprivacyMaskingrule(String ruleId) Delete a masking rule.Delete a masking rule.Fetch details about a masking rule.getDataprivacyMaskingrule(ApiRequest<Void> request) Fetch details about a masking rule.getDataprivacyMaskingrule(String ruleId) Fetch details about a masking rule.Retrieve the list of masking rules.Retrieve the list of masking rules.getDataprivacyMaskingrules(ApiRequest<Void> request) Retrieve the list of masking rules.Retrieve the list of masking rules.Fetch details about a masking rule.Update information about a masking rule.patchDataprivacyMaskingrule(ApiRequest<MaskingRule> request) Update information about a masking rule.patchDataprivacyMaskingrule(String ruleId, MaskingRule body) Update information about a masking rule.patchDataprivacyMaskingruleWithHttpInfo(String ruleId, MaskingRule body) Update information about a masking rule.Create a new masking rule resource.postDataprivacyMaskingrules(ApiRequest<MaskingRule> request) Create a new masking rule resource.Create a new masking rule resource.Validate masking before creating.Validate masking before creating.Validate masking before creating.Validate masking before creating.Create a new masking rule resource.
-
Constructor Details
-
DataPrivacyApi
public DataPrivacyApi() -
DataPrivacyApi
-
-
Method Details
-
deleteDataprivacyMaskingrule
Delete a masking rule.- Parameters:
ruleId- ruleId (required)- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteDataprivacyMaskingruleWithHttpInfo
Delete a masking rule.- Parameters:
ruleId- ruleId (required)- Throws:
IOException- if the request fails to be processed
-
deleteDataprivacyMaskingrule
public void deleteDataprivacyMaskingrule(DeleteDataprivacyMaskingruleRequest request) throws IOException, ApiException Delete a masking rule.- Parameters:
request- The request object- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
deleteDataprivacyMaskingrule
Delete a masking rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getDataprivacyMaskingrule
Fetch details about a masking rule.- Parameters:
ruleId- ruleId (required)- Returns:
- MaskingRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDataprivacyMaskingruleWithHttpInfo
public ApiResponse<MaskingRule> getDataprivacyMaskingruleWithHttpInfo(String ruleId) throws IOException Fetch details about a masking rule.- Parameters:
ruleId- ruleId (required)- Returns:
- MaskingRule
- Throws:
IOException- if the request fails to be processed
-
getDataprivacyMaskingrule
public MaskingRule getDataprivacyMaskingrule(GetDataprivacyMaskingruleRequest request) throws IOException, ApiException Fetch details about a masking rule.- Parameters:
request- The request object- Returns:
- MaskingRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDataprivacyMaskingrule
public ApiResponse<MaskingRule> getDataprivacyMaskingrule(ApiRequest<Void> request) throws IOException Fetch details about a masking rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
getDataprivacyMaskingrules
Retrieve the list of masking rules.- Returns:
- MaskingRuleListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDataprivacyMaskingrulesWithHttpInfo
Retrieve the list of masking rules.- Returns:
- MaskingRuleListing
- Throws:
IOException- if the request fails to be processed
-
getDataprivacyMaskingrules
public MaskingRuleListing getDataprivacyMaskingrules(GetDataprivacyMaskingrulesRequest request) throws IOException, ApiException Retrieve the list of masking rules.- Parameters:
request- The request object- Returns:
- MaskingRuleListing
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
getDataprivacyMaskingrules
public ApiResponse<MaskingRuleListing> getDataprivacyMaskingrules(ApiRequest<Void> request) throws IOException Retrieve the list of masking rules.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
patchDataprivacyMaskingrule
public MaskingRule patchDataprivacyMaskingrule(String ruleId, MaskingRule body) throws IOException, ApiException Update information about a masking rule.- Parameters:
ruleId- ruleId (required)body- (optional)- Returns:
- MaskingRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchDataprivacyMaskingruleWithHttpInfo
public ApiResponse<MaskingRule> patchDataprivacyMaskingruleWithHttpInfo(String ruleId, MaskingRule body) throws IOException Update information about a masking rule.- Parameters:
ruleId- ruleId (required)body- (optional)- Returns:
- MaskingRule
- Throws:
IOException- if the request fails to be processed
-
patchDataprivacyMaskingrule
public MaskingRule patchDataprivacyMaskingrule(PatchDataprivacyMaskingruleRequest request) throws IOException, ApiException Update information about a masking rule.- Parameters:
request- The request object- Returns:
- MaskingRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
patchDataprivacyMaskingrule
public ApiResponse<MaskingRule> patchDataprivacyMaskingrule(ApiRequest<MaskingRule> request) throws IOException Update information about a masking rule.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postDataprivacyMaskingrules
Create a new masking rule resource.- Parameters:
body- Details for creating masking rule resource (required)- Returns:
- MaskingRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDataprivacyMaskingrulesWithHttpInfo
public ApiResponse<MaskingRule> postDataprivacyMaskingrulesWithHttpInfo(MaskingRule body) throws IOException Create a new masking rule resource.- Parameters:
body- Details for creating masking rule resource (required)- Returns:
- MaskingRule
- Throws:
IOException- if the request fails to be processed
-
postDataprivacyMaskingrules
public MaskingRule postDataprivacyMaskingrules(PostDataprivacyMaskingrulesRequest request) throws IOException, ApiException Create a new masking rule resource.- Parameters:
request- The request object- Returns:
- MaskingRule
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDataprivacyMaskingrules
public ApiResponse<MaskingRule> postDataprivacyMaskingrules(ApiRequest<MaskingRule> request) throws IOException Create a new masking rule resource.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-
postDataprivacyMaskingrulesValidate
public MaskingRuleValidateResponse postDataprivacyMaskingrulesValidate(MaskingRuleValidateRequest body) throws IOException, ApiException Validate masking before creating.- Parameters:
body- Text to be masked (required)- Returns:
- MaskingRuleValidateResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDataprivacyMaskingrulesValidateWithHttpInfo
public ApiResponse<MaskingRuleValidateResponse> postDataprivacyMaskingrulesValidateWithHttpInfo(MaskingRuleValidateRequest body) throws IOException Validate masking before creating.- Parameters:
body- Text to be masked (required)- Returns:
- MaskingRuleValidateResponse
- Throws:
IOException- if the request fails to be processed
-
postDataprivacyMaskingrulesValidate
public MaskingRuleValidateResponse postDataprivacyMaskingrulesValidate(PostDataprivacyMaskingrulesValidateRequest request) throws IOException, ApiException Validate masking before creating.- Parameters:
request- The request object- Returns:
- MaskingRuleValidateResponse
- Throws:
ApiException- if the request fails on the serverIOException- if the request fails to be processed
-
postDataprivacyMaskingrulesValidate
public ApiResponse<MaskingRuleValidateResponse> postDataprivacyMaskingrulesValidate(ApiRequest<MaskingRuleValidateRequest> request) throws IOException Validate masking before creating.- Parameters:
request- The request object- Returns:
- the response
- Throws:
IOException- if the request fails to be processed
-