@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
 @Component(value="org.openapitools.client.api.PolicyApi")
public class PolicyApi
extends java.lang.Object
| Constructor and Description | 
|---|
| PolicyApi() | 
| PolicyApi(ApiClient apiClient) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | activatePolicy(java.lang.String policyId)Activate a Policy
 Activates a policy | 
| void | activatePolicyRule(java.lang.String policyId,
                  java.lang.String ruleId)Activate a Policy Rule
 Activates a policy rule | 
| Policy | clonePolicy(java.lang.String policyId)Clone an existing policy
 Clones an existing policy | 
| PagedList | clonePolicyWithPaginationInfo(java.lang.String policyId)Clone an existing policy
 Clones an existing policy | 
| <T> T | createPolicy(java.lang.Class<?> T,
            Policy policy,
            java.lang.Boolean activate)Create a Policy
 Creates a policy | 
| Policy | createPolicy(Policy policy,
            java.lang.Boolean activate)Create a Policy
 Creates a policy | 
| <T> T | createPolicyRule(java.lang.Class<?> T,
                java.lang.String policyId,
                PolicyRule policyRule)Create a Policy Rule
 Creates a policy rule | 
| PolicyRule | createPolicyRule(java.lang.String policyId,
                PolicyRule policyRule)Create a Policy Rule
 Creates a policy rule | 
| PagedList | createPolicyRuleWithPaginationInfo(java.lang.String policyId,
                                  PolicyRule policyRule)Create a Policy Rule
 Creates a policy rule | 
| PagedList | createPolicyWithPaginationInfo(Policy policy,
                              java.lang.Boolean activate)Create a Policy
 Creates a policy | 
| void | deactivatePolicy(java.lang.String policyId)Deactivate a Policy
 Deactivates a policy | 
| void | deactivatePolicyRule(java.lang.String policyId,
                    java.lang.String ruleId)Deactivate a Policy Rule
 Deactivates a policy rule | 
| void | deletePolicy(java.lang.String policyId)Delete a Policy
 Deletes a policy | 
| void | deletePolicyRule(java.lang.String policyId,
                java.lang.String ruleId)Delete a Policy Rule
 Deletes a policy rule | 
| ApiClient | getApiClient() | 
| Policy | getPolicy(java.lang.String policyId,
         java.lang.String expand)Retrieve a Policy
 Retrieves a policy | 
| PolicyRule | getPolicyRule(java.lang.String policyId,
             java.lang.String ruleId)Retrieve a Policy Rule
 Retrieves a policy rule | 
| PagedList | getPolicyRuleWithPaginationInfo(java.lang.String policyId,
                               java.lang.String ruleId)Retrieve a Policy Rule
 Retrieves a policy rule | 
| PagedList | getPolicyWithPaginationInfo(java.lang.String policyId,
                           java.lang.String expand)Retrieve a Policy
 Retrieves a policy | 
| java.util.List<Policy> | listPolicies(java.lang.String type,
            java.lang.String status,
            java.lang.String expand)List all Policies
 Lists all policies with the specified type | 
| PagedList | listPoliciesWithPaginationInfo(java.lang.String type,
                              java.lang.String status,
                              java.lang.String expand)List all Policies
 Lists all policies with the specified type | 
| java.util.List<PolicyRule> | listPolicyRules(java.lang.String policyId)List all Policy Rules
 Lists all policy rules | 
| PagedList | listPolicyRulesWithPaginationInfo(java.lang.String policyId)List all Policy Rules
 Lists all policy rules | 
| <T> T | replacePolicy(java.lang.Class<?> T,
             java.lang.String policyId,
             Policy policy)Replace a Policy
 Replaces a policy | 
| Policy | replacePolicy(java.lang.String policyId,
             Policy policy)Replace a Policy
 Replaces a policy | 
| <T> T | replacePolicyRule(java.lang.Class<?> T,
                 java.lang.String policyId,
                 java.lang.String ruleId,
                 PolicyRule policyRule)Replace a Policy Rule
 Replaces a policy rules | 
| PolicyRule | replacePolicyRule(java.lang.String policyId,
                 java.lang.String ruleId,
                 PolicyRule policyRule)Replace a Policy Rule
 Replaces a policy rules | 
| PagedList | replacePolicyRuleWithPaginationInfo(java.lang.String policyId,
                                   java.lang.String ruleId,
                                   PolicyRule policyRule)Replace a Policy Rule
 Replaces a policy rules | 
| PagedList | replacePolicyWithPaginationInfo(java.lang.String policyId,
                               Policy policy)Replace a Policy
 Replaces a policy | 
| void | setApiClient(ApiClient apiClient) | 
public PolicyApi()
@Autowired public PolicyApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void activatePolicy(java.lang.String policyId)
                    throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic void activatePolicyRule(java.lang.String policyId,
                               java.lang.String ruleId)
                        throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)ruleId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic Policy clonePolicy(java.lang.String policyId) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList clonePolicyWithPaginationInfo(java.lang.String policyId) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic Policy createPolicy(Policy policy, java.lang.Boolean activate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
policy - (required)activate - (optional, default to true)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic <T> T createPolicy(java.lang.Class<?> T,
                          Policy policy,
                          java.lang.Boolean activate)
                   throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
T - (required) - the assignable return typepolicy - (required)activate - (optional, default to true)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList createPolicyWithPaginationInfo(Policy policy, java.lang.Boolean activate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
429 - Too Many Requests
policy - (required)activate - (optional, default to true)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PolicyRule createPolicyRule(java.lang.String policyId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)policyRule - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic <T> T createPolicyRule(java.lang.Class<?> T,
                              java.lang.String policyId,
                              PolicyRule policyRule)
                       throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T - (required) - the assignable return typepolicyId - (required)policyRule - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList createPolicyRuleWithPaginationInfo(java.lang.String policyId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)policyRule - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic void deactivatePolicy(java.lang.String policyId)
                      throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic void deactivatePolicyRule(java.lang.String policyId,
                                 java.lang.String ruleId)
                          throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)ruleId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic void deletePolicy(java.lang.String policyId)
                  throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic void deletePolicyRule(java.lang.String policyId,
                             java.lang.String ruleId)
                      throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)ruleId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic Policy getPolicy(java.lang.String policyId, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)expand - (optional, default to )org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList getPolicyWithPaginationInfo(java.lang.String policyId, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)expand - (optional, default to )org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PolicyRule getPolicyRule(java.lang.String policyId, java.lang.String ruleId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)ruleId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList getPolicyRuleWithPaginationInfo(java.lang.String policyId, java.lang.String ruleId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)ruleId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic java.util.List<Policy> listPolicies(java.lang.String type, java.lang.String status, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
429 - Too Many Requests
type - (required)status - (optional)expand - (optional, default to )org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList listPoliciesWithPaginationInfo(java.lang.String type, java.lang.String status, java.lang.String expand) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
429 - Too Many Requests
type - (required)status - (optional)expand - (optional, default to )org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic java.util.List<PolicyRule> listPolicyRules(java.lang.String policyId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList listPolicyRulesWithPaginationInfo(java.lang.String policyId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic Policy replacePolicy(java.lang.String policyId, Policy policy) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)policy - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic <T> T replacePolicy(java.lang.Class<?> T,
                           java.lang.String policyId,
                           Policy policy)
                    throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T - (required) - the assignable return typepolicyId - (required)policy - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList replacePolicyWithPaginationInfo(java.lang.String policyId, Policy policy) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)policy - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PolicyRule replacePolicyRule(java.lang.String policyId, java.lang.String ruleId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)ruleId - (required)policyRule - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic <T> T replacePolicyRule(java.lang.Class<?> T,
                               java.lang.String policyId,
                               java.lang.String ruleId,
                               PolicyRule policyRule)
                        throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T - (required) - the assignable return typepolicyId - (required)ruleId - (required)policyRule - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APIpublic PagedList replacePolicyRuleWithPaginationInfo(java.lang.String policyId, java.lang.String ruleId, PolicyRule policyRule) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
policyId - (required)ruleId - (required)policyRule - (required)org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the APICopyright © 2017-2022 Okta. All Rights Reserved.