Class PolicyApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
activatePolicy
(String policyId) Activate a Policy Activates a policyvoid
activatePolicyRule
(String policyId, String ruleId) Activate a Policy Rule Activates a policy ruleorg.springframework.http.ResponseEntity<Void>
activatePolicyRuleWithHttpInfo
(String policyId, String ruleId) Activate a Policy Rule Activates a policy ruleorg.springframework.http.ResponseEntity<Void>
activatePolicyWithHttpInfo
(String policyId) Activate a Policy Activates a policyclonePolicy
(String policyId) Clone an existing policy Clones an existing policyorg.springframework.http.ResponseEntity<Policy>
clonePolicyWithHttpInfo
(String policyId) Clone an existing policy Clones an existing policyclonePolicyWithPaginationInfo
(String policyId) Clone an existing policy Clones an existing policy<T> T
createPolicy
(Class<?> T, Policy policy, Boolean activate) Create a Policy Creates a policycreatePolicy
(Policy policy, Boolean activate) Create a Policy Creates a policy<T> T
createPolicyRule
(Class<?> T, String policyId, PolicyRule policyRule) Create a Policy Rule Creates a policy rulecreatePolicyRule
(String policyId, PolicyRule policyRule) Create a Policy Rule Creates a policy ruleorg.springframework.http.ResponseEntity<PolicyRule>
createPolicyRuleWithHttpInfo
(String policyId, PolicyRule policyRule) Create a Policy Rule Creates a policy rulecreatePolicyRuleWithPaginationInfo
(String policyId, PolicyRule policyRule) Create a Policy Rule Creates a policy ruleorg.springframework.http.ResponseEntity<Policy>
createPolicyWithHttpInfo
(Policy policy, Boolean activate) Create a Policy Creates a policycreatePolicyWithPaginationInfo
(Policy policy, Boolean activate) Create a Policy Creates a policyvoid
deactivatePolicy
(String policyId) Deactivate a Policy Deactivates a policyvoid
deactivatePolicyRule
(String policyId, String ruleId) Deactivate a Policy Rule Deactivates a policy ruleorg.springframework.http.ResponseEntity<Void>
deactivatePolicyRuleWithHttpInfo
(String policyId, String ruleId) Deactivate a Policy Rule Deactivates a policy ruleorg.springframework.http.ResponseEntity<Void>
deactivatePolicyWithHttpInfo
(String policyId) Deactivate a Policy Deactivates a policyvoid
deletePolicy
(String policyId) Delete a Policy Deletes a policyvoid
deletePolicyRule
(String policyId, String ruleId) Delete a Policy Rule Deletes a policy ruleorg.springframework.http.ResponseEntity<Void>
deletePolicyRuleWithHttpInfo
(String policyId, String ruleId) Delete a Policy Rule Deletes a policy ruleorg.springframework.http.ResponseEntity<Void>
deletePolicyWithHttpInfo
(String policyId) Delete a Policy Deletes a policyRetrieve a Policy Retrieves a policygetPolicyRule
(String policyId, String ruleId) Retrieve a Policy Rule Retrieves a policy ruleorg.springframework.http.ResponseEntity<PolicyRule>
getPolicyRuleWithHttpInfo
(String policyId, String ruleId) Retrieve a Policy Rule Retrieves a policy rulegetPolicyRuleWithPaginationInfo
(String policyId, String ruleId) Retrieve a Policy Rule Retrieves a policy ruleorg.springframework.http.ResponseEntity<Policy>
getPolicyWithHttpInfo
(String policyId, String expand) Retrieve a Policy Retrieves a policygetPolicyWithPaginationInfo
(String policyId, String expand) Retrieve a Policy Retrieves a policylistPolicies
(String type, String status, String expand) List all Policies Lists all policies with the specified typelistPoliciesWithHttpInfo
(String type, String status, String expand) List all Policies Lists all policies with the specified typelistPoliciesWithPaginationInfo
(String type, String status, String expand) List all Policies Lists all policies with the specified typelistPolicyRules
(String policyId) List all Policy Rules Lists all policy rulesorg.springframework.http.ResponseEntity<List<PolicyRule>>
listPolicyRulesWithHttpInfo
(String policyId) List all Policy Rules Lists all policy ruleslistPolicyRulesWithPaginationInfo
(String policyId) List all Policy Rules Lists all policy rules<T> T
replacePolicy
(Class<?> T, String policyId, Policy policy) Replace a Policy Replaces a policyreplacePolicy
(String policyId, Policy policy) Replace a Policy Replaces a policy<T> T
replacePolicyRule
(Class<?> T, String policyId, String ruleId, PolicyRule policyRule) Replace a Policy Rule Replaces a policy rulesreplacePolicyRule
(String policyId, String ruleId, PolicyRule policyRule) Replace a Policy Rule Replaces a policy rulesorg.springframework.http.ResponseEntity<PolicyRule>
replacePolicyRuleWithHttpInfo
(String policyId, String ruleId, PolicyRule policyRule) Replace a Policy Rule Replaces a policy rulesreplacePolicyRuleWithPaginationInfo
(String policyId, String ruleId, PolicyRule policyRule) Replace a Policy Rule Replaces a policy rulesorg.springframework.http.ResponseEntity<Policy>
replacePolicyWithHttpInfo
(String policyId, Policy policy) Replace a Policy Replaces a policyreplacePolicyWithPaginationInfo
(String policyId, Policy policy) Replace a Policy Replaces a policyvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
PolicyApi
public PolicyApi() -
PolicyApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activatePolicy
public void activatePolicy(String policyId) throws org.springframework.web.client.RestClientException Activate a Policy Activates a policy204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
activatePolicyWithHttpInfo
public org.springframework.http.ResponseEntity<Void> activatePolicyWithHttpInfo(String policyId) throws org.springframework.web.client.RestClientException Activate a Policy Activates a policy204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- ResponseEntity<Void>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
activatePolicyRule
public void activatePolicyRule(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Activate a Policy Rule Activates a policy rule204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
activatePolicyRuleWithHttpInfo
public org.springframework.http.ResponseEntity<Void> activatePolicyRuleWithHttpInfo(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Activate a Policy Rule Activates a policy rule204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Returns:
- ResponseEntity<Void>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
clonePolicy
public Policy clonePolicy(String policyId) throws org.springframework.web.client.RestClientException Clone an existing policy Clones an existing policy200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- Policy
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
clonePolicyWithHttpInfo
public org.springframework.http.ResponseEntity<Policy> clonePolicyWithHttpInfo(String policyId) throws org.springframework.web.client.RestClientException Clone an existing policy Clones an existing policy200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- ResponseEntity<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
clonePolicyWithPaginationInfo
public PagedList clonePolicyWithPaginationInfo(String policyId) throws org.springframework.web.client.RestClientException Clone an existing policy Clones an existing policy200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- ResponseEntity<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPolicy
public Policy createPolicy(Policy policy, Boolean activate) throws org.springframework.web.client.RestClientException Create a Policy Creates a policy200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
policy
- (required)activate
- (optional, default to true)- Returns:
- Policy
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPolicy
public <T> T createPolicy(Class<?> T, Policy policy, Boolean activate) throws org.springframework.web.client.RestClientException Create a Policy Creates a policy200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typepolicy
- (required)activate
- (optional, default to true)- Returns:
- T instance
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPolicyWithHttpInfo
public org.springframework.http.ResponseEntity<Policy> createPolicyWithHttpInfo(Policy policy, Boolean activate) throws org.springframework.web.client.RestClientException Create a Policy Creates a policy200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
policy
- (required)activate
- (optional, default to true)- Returns:
- ResponseEntity<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPolicyWithPaginationInfo
public PagedList createPolicyWithPaginationInfo(Policy policy, Boolean activate) throws org.springframework.web.client.RestClientException Create a Policy Creates a policy200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
- Parameters:
policy
- (required)activate
- (optional, default to true)- Returns:
- ResponseEntity<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPolicyRule
public PolicyRule createPolicyRule(String policyId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException Create a Policy Rule Creates a policy rule200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)policyRule
- (required)- Returns:
- PolicyRule
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPolicyRule
public <T> T createPolicyRule(Class<?> T, String policyId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException Create a Policy Rule Creates a policy rule200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typepolicyId
- (required)policyRule
- (required)- Returns:
- T instance
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPolicyRuleWithHttpInfo
public org.springframework.http.ResponseEntity<PolicyRule> createPolicyRuleWithHttpInfo(String policyId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException Create a Policy Rule Creates a policy rule200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)policyRule
- (required)- Returns:
- ResponseEntity<PolicyRule>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
createPolicyRuleWithPaginationInfo
public PagedList createPolicyRuleWithPaginationInfo(String policyId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException Create a Policy Rule Creates a policy rule200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)policyRule
- (required)- Returns:
- ResponseEntity<PolicyRule>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deactivatePolicy
public void deactivatePolicy(String policyId) throws org.springframework.web.client.RestClientException Deactivate a Policy Deactivates a policy204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deactivatePolicyWithHttpInfo
public org.springframework.http.ResponseEntity<Void> deactivatePolicyWithHttpInfo(String policyId) throws org.springframework.web.client.RestClientException Deactivate a Policy Deactivates a policy204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- ResponseEntity<Void>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deactivatePolicyRule
public void deactivatePolicyRule(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Deactivate a Policy Rule Deactivates a policy rule204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deactivatePolicyRuleWithHttpInfo
public org.springframework.http.ResponseEntity<Void> deactivatePolicyRuleWithHttpInfo(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Deactivate a Policy Rule Deactivates a policy rule204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Returns:
- ResponseEntity<Void>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deletePolicy
Delete a Policy Deletes a policy204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deletePolicyWithHttpInfo
public org.springframework.http.ResponseEntity<Void> deletePolicyWithHttpInfo(String policyId) throws org.springframework.web.client.RestClientException Delete a Policy Deletes a policy204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- ResponseEntity<Void>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deletePolicyRule
public void deletePolicyRule(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Delete a Policy Rule Deletes a policy rule204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
deletePolicyRuleWithHttpInfo
public org.springframework.http.ResponseEntity<Void> deletePolicyRuleWithHttpInfo(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Delete a Policy Rule Deletes a policy rule204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Returns:
- ResponseEntity<Void>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPolicy
public Policy getPolicy(String policyId, String expand) throws org.springframework.web.client.RestClientException Retrieve a Policy Retrieves a policy200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)expand
- (optional, default to )- Returns:
- Policy
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPolicyWithHttpInfo
public org.springframework.http.ResponseEntity<Policy> getPolicyWithHttpInfo(String policyId, String expand) throws org.springframework.web.client.RestClientException Retrieve a Policy Retrieves a policy200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)expand
- (optional, default to )- Returns:
- ResponseEntity<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPolicyWithPaginationInfo
public PagedList getPolicyWithPaginationInfo(String policyId, String expand) throws org.springframework.web.client.RestClientException Retrieve a Policy Retrieves a policy200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)expand
- (optional, default to )- Returns:
- ResponseEntity<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPolicyRule
public PolicyRule getPolicyRule(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Retrieve a Policy Rule Retrieves a policy rule200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Returns:
- PolicyRule
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPolicyRuleWithHttpInfo
public org.springframework.http.ResponseEntity<PolicyRule> getPolicyRuleWithHttpInfo(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Retrieve a Policy Rule Retrieves a policy rule200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Returns:
- ResponseEntity<PolicyRule>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
getPolicyRuleWithPaginationInfo
public PagedList getPolicyRuleWithPaginationInfo(String policyId, String ruleId) throws org.springframework.web.client.RestClientException Retrieve a Policy Rule Retrieves a policy rule200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)- Returns:
- ResponseEntity<PolicyRule>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPolicies
public List<Policy> listPolicies(String type, String status, String expand) throws org.springframework.web.client.RestClientException List all Policies Lists all policies with the specified type200 - Success
403 - Forbidden
429 - Too Many Requests
- Parameters:
type
- (required)status
- (optional)expand
- (optional, default to )- Returns:
- List<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPoliciesWithHttpInfo
public org.springframework.http.ResponseEntity<List<Policy>> listPoliciesWithHttpInfo(String type, String status, String expand) throws org.springframework.web.client.RestClientException List all Policies Lists all policies with the specified type200 - Success
403 - Forbidden
429 - Too Many Requests
- Parameters:
type
- (required)status
- (optional)expand
- (optional, default to )- Returns:
- ResponseEntity<List<Policy>>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPoliciesWithPaginationInfo
public PagedList listPoliciesWithPaginationInfo(String type, String status, String expand) throws org.springframework.web.client.RestClientException List all Policies Lists all policies with the specified type200 - Success
403 - Forbidden
429 - Too Many Requests
- Parameters:
type
- (required)status
- (optional)expand
- (optional, default to )- Returns:
- ResponseEntity<List<Policy>>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPolicyRules
public List<PolicyRule> listPolicyRules(String policyId) throws org.springframework.web.client.RestClientException List all Policy Rules Lists all policy rules200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- List<PolicyRule>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPolicyRulesWithHttpInfo
public org.springframework.http.ResponseEntity<List<PolicyRule>> listPolicyRulesWithHttpInfo(String policyId) throws org.springframework.web.client.RestClientException List all Policy Rules Lists all policy rules200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- ResponseEntity<List<PolicyRule>>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
listPolicyRulesWithPaginationInfo
public PagedList listPolicyRulesWithPaginationInfo(String policyId) throws org.springframework.web.client.RestClientException List all Policy Rules Lists all policy rules200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)- Returns:
- ResponseEntity<List<PolicyRule>>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePolicy
public Policy replacePolicy(String policyId, Policy policy) throws org.springframework.web.client.RestClientException Replace a Policy Replaces a policy200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)policy
- (required)- Returns:
- Policy
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePolicy
public <T> T replacePolicy(Class<?> T, String policyId, Policy policy) throws org.springframework.web.client.RestClientException Replace a Policy Replaces a policy200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typepolicyId
- (required)policy
- (required)- Returns:
- T instance
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePolicyWithHttpInfo
public org.springframework.http.ResponseEntity<Policy> replacePolicyWithHttpInfo(String policyId, Policy policy) throws org.springframework.web.client.RestClientException Replace a Policy Replaces a policy200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)policy
- (required)- Returns:
- ResponseEntity<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePolicyWithPaginationInfo
public PagedList replacePolicyWithPaginationInfo(String policyId, Policy policy) throws org.springframework.web.client.RestClientException Replace a Policy Replaces a policy200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)policy
- (required)- Returns:
- ResponseEntity<Policy>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePolicyRule
public PolicyRule replacePolicyRule(String policyId, String ruleId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException Replace a Policy Rule Replaces a policy rules200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)policyRule
- (required)- Returns:
- PolicyRule
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePolicyRule
public <T> T replacePolicyRule(Class<?> T, String policyId, String ruleId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException Replace a Policy Rule Replaces a policy rules200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
T
- (required) - the assignable return typepolicyId
- (required)ruleId
- (required)policyRule
- (required)- Returns:
- T instance
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePolicyRuleWithHttpInfo
public org.springframework.http.ResponseEntity<PolicyRule> replacePolicyRuleWithHttpInfo(String policyId, String ruleId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException Replace a Policy Rule Replaces a policy rules200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)policyRule
- (required)- Returns:
- ResponseEntity<PolicyRule>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-
replacePolicyRuleWithPaginationInfo
public PagedList replacePolicyRuleWithPaginationInfo(String policyId, String ruleId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException Replace a Policy Rule Replaces a policy rules200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
- Parameters:
policyId
- (required)ruleId
- (required)policyRule
- (required)- Returns:
- ResponseEntity<PolicyRule>
- Throws:
org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the API
-