The PermissionDefinition message provides detailed information about a specific permission.
Name | Type | Description | Notes |
---|---|---|---|
name | str | The name of the permission, which follows a specific string pattern and has a maximum byte size. | [optional] |
child | Child | [optional] |
from permify.models.permission_definition import PermissionDefinition
# TODO update the JSON string below
json = "{}"
# create an instance of PermissionDefinition from a JSON string
permission_definition_instance = PermissionDefinition.from_json(json)
# print the JSON string representation of the object
print(PermissionDefinition.to_json())
# convert the object into a dict
permission_definition_dict = permission_definition_instance.to_dict()
# create an instance of PermissionDefinition from a dict
permission_definition_from_dict = PermissionDefinition.from_dict(permission_definition_dict)