Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.54 KB

File metadata and controls

42 lines (33 loc) · 1.54 KB

PolicyBinding

PolicyBinding Serializer

Properties

Name Type Description Notes
pk UUID [readonly]
policy UUID [optional]
group UUID [optional]
user int [optional]
policy_obj Policy [readonly]
group_obj PartialGroup [readonly]
user_obj PartialUser [readonly]
target UUID
negate bool Negates the outcome of the policy. Messages are unaffected. [optional]
enabled bool [optional]
order int
timeout int Timeout after which Policy execution is terminated. [optional]
failure_result bool Result if the Policy execution fails. [optional]

Example

from authentik_client.models.policy_binding import PolicyBinding

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

# convert the object into a dict
policy_binding_dict = policy_binding_instance.to_dict()
# create an instance of PolicyBinding from a dict
policy_binding_from_dict = PolicyBinding.from_dict(policy_binding_dict)

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