Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.48 KB

File metadata and controls

36 lines (27 loc) · 1.48 KB

PolicyRule

Properties

Name Type Description Notes
created datetime Timestamp when the rule was created [optional] [readonly]
id str Identifier for the rule [optional]
last_updated datetime Timestamp when the rule was last modified [optional] [readonly]
name str Name of the rule [optional]
priority int Priority of the rule [optional]
status LifecycleStatus [optional]
system bool Specifies whether Okta created the Policy Rule (`system=true`). You can't delete Policy Rules that have `system` set to `true`. [optional] [default to False]
type PolicyRuleType [optional]

Example

from okta.models.policy_rule import PolicyRule

# TODO update the JSON string below
json = "{}"
# create an instance of PolicyRule from a JSON string
policy_rule_instance = PolicyRule.from_json(json)
# print the JSON string representation of the object
print(PolicyRule.to_json())

# convert the object into a dict
policy_rule_dict = policy_rule_instance.to_dict()
# create an instance of PolicyRule from a dict
policy_rule_from_dict = PolicyRule.from_dict(policy_rule_dict)

[Back to Model list] [Back to API list] [Back to README]