Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.52 KB

File metadata and controls

39 lines (30 loc) · 1.52 KB

Policy

Properties

Name Type Description Notes
created datetime Timestamp when the Policy was created [optional] [readonly]
description str Policy description [optional]
id str Policy ID [optional] [readonly]
last_updated datetime Timestamp when the Policy was last updated [optional] [readonly]
name str Policy name [optional]
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]
type PolicyType [optional]
embedded Dict[str, object] [optional] [readonly]
links PolicyLinks [optional]

Example

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]