@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00") public interface PolicyRule extends ExtensibleResource, Deletable
Modifier and Type | Interface and Description |
---|---|
static class |
PolicyRule.StatusEnum
Enum status
|
static class |
PolicyRule.TypeEnum
Enum type
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates a policy rule.
|
void |
deactivate()
Deactivates a policy rule.
|
void |
delete()
Removes a policy rule.
|
java.util.Date |
getCreated() |
java.lang.String |
getId() |
java.util.Date |
getLastUpdated() |
java.lang.Integer |
getPriority() |
PolicyRule.StatusEnum |
getStatus() |
java.lang.Boolean |
getSystem() |
PolicyRule.TypeEnum |
getType() |
PolicyRule |
setPriority(java.lang.Integer priority) |
PolicyRule |
setStatus(PolicyRule.StatusEnum status) |
PolicyRule |
setSystem(java.lang.Boolean system) |
PolicyRule |
setType(PolicyRule.TypeEnum type) |
PolicyRule |
update()
Updates a policy rule.
|
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
java.util.Date getCreated()
java.lang.String getId()
java.util.Date getLastUpdated()
java.lang.Integer getPriority()
PolicyRule setPriority(java.lang.Integer priority)
PolicyRule.StatusEnum getStatus()
PolicyRule setStatus(PolicyRule.StatusEnum status)
java.lang.Boolean getSystem()
PolicyRule setSystem(java.lang.Boolean system)
PolicyRule.TypeEnum getType()
PolicyRule setType(PolicyRule.TypeEnum type)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="PUT - /api/v1/policies/{policyId}/rules/{ruleId}") PolicyRule update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="POST - /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate") void activate()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2021-12-01T12:36:04.511-06:00", comments="POST - /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate") void deactivate()
Copyright © 2017-2021 Okta. All Rights Reserved.