Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.55 KB

File metadata and controls

38 lines (29 loc) · 1.55 KB

ExpressionPolicy

Group Membership Policy Serializer

Properties

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]
expression str

Example

from authentik_client.models.expression_policy import ExpressionPolicy

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

# convert the object into a dict
expression_policy_dict = expression_policy_instance.to_dict()
# create an instance of ExpressionPolicy from a dict
expression_policy_from_dict = ExpressionPolicy.from_dict(expression_policy_dict)

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