PermissionCheckRequest is the request message for the Check method in the Permission service.
Name | Type | Description | Notes |
---|---|---|---|
metadata | PermissionCheckRequestMetadata | [optional] | |
entity | Entity | [optional] | |
permission | str | The action the user wants to perform on the resource | [optional] |
subject | Subject | [optional] | |
context | Context | [optional] | |
arguments | List[Argument] | Additional arguments associated with this request. | [optional] |
from permify.models.check_body import CheckBody
# TODO update the JSON string below
json = "{}"
# create an instance of CheckBody from a JSON string
check_body_instance = CheckBody.from_json(json)
# print the JSON string representation of the object
print(CheckBody.to_json())
# convert the object into a dict
check_body_dict = check_body_instance.to_dict()
# create an instance of CheckBody from a dict
check_body_from_dict = CheckBody.from_dict(check_body_dict)