| Name |
Type |
Description |
Notes |
| created |
datetime |
Timestamp when the policy was created |
[optional] [readonly] |
| description |
str |
Description of the policy |
[optional] |
| id |
str |
Identifier of the policy |
[optional] [readonly] [default to 'Assigned'] |
| last_updated |
datetime |
Timestamp when the policy was last modified |
[optional] [readonly] |
| name |
str |
Name of the policy |
|
| priority |
int |
Specifies the order in which this policy is evaluated in relation to the other policies |
[optional] |
| status |
LifecycleStatus |
|
[optional] |
| system |
bool |
Specifies whether Okta created the policy |
[optional] [default to False] |
| type |
PolicyType |
|
|
| embedded |
Dict[str, object] |
|
[optional] [readonly] |
| links |
PolicyLinks |
|
[optional] |
from okta.models.policy import Policy
# TODO update the JSON string below
json = "{}"
# create an instance of Policy from a JSON string
policy_instance = Policy.from_json(json)
# print the JSON string representation of the object
print(Policy.to_json())
# convert the object into a dict
policy_dict = policy_instance.to_dict()
# create an instance of Policy from a dict
policy_from_dict = Policy.from_dict(policy_dict)
[Back to Model list] [Back to API list] [Back to README]