Policy Serializer
| Name | Type | Description | Notes |
|---|---|---|---|
| pk | UUID | [readonly] | |
| name | str | ||
| execution_logging | bool | When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged. | [optional] |
| component | str | Get object component so that we know how to edit the object | [readonly] |
| verbose_name | str | Return object's verbose_name | [readonly] |
| verbose_name_plural | str | Return object's plural verbose_name | [readonly] |
| meta_model_name | str | Return internal model name | [readonly] |
| bound_to | int | Return objects policy is bound to | [readonly] |
from authentik_client.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)