Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.8 KB

LookupSubjectBody.md

File metadata and controls

36 lines (27 loc) · 1.8 KB

LookupSubjectBody

PermissionLookupSubjectRequest is the request message for the LookupSubject method in the Permission service.

Properties

Name Type Description Notes
metadata PermissionLookupSubjectRequestMetadata [optional]
entity Entity [optional]
permission str Permission to be checked, can be a permission or relation. Required, and must match the pattern "^([a-zA-Z][a-zA-Z0-9_]{1,62}[a-zA-Z0-9])$", max 64 bytes. [optional]
subject_reference RelationReference [optional]
context Context [optional]
page_size int page_size is the number of subjects to be returned in the response. The value should be between 1 and 100. [optional]
continuous_token str continuous_token is an optional parameter used for pagination. It should be the value received in the previous response. [optional]

Example

from permify.models.lookup_subject_body import LookupSubjectBody

# TODO update the JSON string below
json = "{}"
# create an instance of LookupSubjectBody from a JSON string
lookup_subject_body_instance = LookupSubjectBody.from_json(json)
# print the JSON string representation of the object
print(LookupSubjectBody.to_json())

# convert the object into a dict
lookup_subject_body_dict = lookup_subject_body_instance.to_dict()
# create an instance of LookupSubjectBody from a dict
lookup_subject_body_from_dict = LookupSubjectBody.from_dict(lookup_subject_body_dict)

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