PermissionCheckResponse is the response message for the Check method in the Permission service.
Name | Type | Description | Notes |
---|---|---|---|
can | CheckResult | [optional] | |
metadata | PermissionCheckResponseMetadata | [optional] |
from permify.models.permission_check_response import PermissionCheckResponse
# TODO update the JSON string below
json = "{}"
# create an instance of PermissionCheckResponse from a JSON string
permission_check_response_instance = PermissionCheckResponse.from_json(json)
# print the JSON string representation of the object
print(PermissionCheckResponse.to_json())
# convert the object into a dict
permission_check_response_dict = permission_check_response_instance.to_dict()
# create an instance of PermissionCheckResponse from a dict
permission_check_response_from_dict = PermissionCheckResponse.from_dict(permission_check_response_dict)