Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.33 KB

SubjectPermissionBody.md

File metadata and controls

33 lines (24 loc) · 1.33 KB

SubjectPermissionBody

PermissionSubjectPermissionRequest is the request message for the SubjectPermission method in the Permission service.

Properties

Name Type Description Notes
metadata PermissionSubjectPermissionRequestMetadata [optional]
entity Entity [optional]
subject Subject [optional]
context Context [optional]

Example

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)

[Back to Model list] [Back to API list] [Back to README]