PermissionSubjectPermissionRequest is the request message for the SubjectPermission method in the Permission service.
Name | Type | Description | Notes |
---|---|---|---|
metadata | PermissionSubjectPermissionRequestMetadata | [optional] | |
entity | Entity | [optional] | |
subject | Subject | [optional] | |
context | Context | [optional] |
from permify.models.subject_permission_body import SubjectPermissionBody
# TODO update the JSON string below
json = "{}"
# create an instance of SubjectPermissionBody from a JSON string
subject_permission_body_instance = SubjectPermissionBody.from_json(json)
# print the JSON string representation of the object
print(SubjectPermissionBody.to_json())
# convert the object into a dict
subject_permission_body_dict = subject_permission_body_instance.to_dict()
# create an instance of SubjectPermissionBody from a dict
subject_permission_body_from_dict = SubjectPermissionBody.from_dict(subject_permission_body_dict)