Expand is used to define a hierarchical structure for permissions. It has an entity, permission, and arguments. The node can be either another hierarchical structure or a set of subjects.
| Name | Type | Description | Notes |
|---|---|---|---|
| entity | Entity | [optional] | |
| permission | str | permission is the permission applied to the entity. | [optional] |
| arguments | List[Argument] | arguments are the additional information or context used to evaluate permissions. | [optional] |
| expand | ExpandTreeNode | [optional] | |
| leaf | ExpandLeaf | [optional] |
from permify_async.models.v1_expand import V1Expand
# TODO update the JSON string below
json = "{}"
# create an instance of V1Expand from a JSON string
v1_expand_instance = V1Expand.from_json(json)
# print the JSON string representation of the object
print(V1Expand.to_json())
# convert the object into a dict
v1_expand_dict = v1_expand_instance.to_dict()
# create an instance of V1Expand from a dict
v1_expand_from_dict = V1Expand.from_dict(v1_expand_dict)