Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.06 KB

LookupEntityBody.md

File metadata and controls

37 lines (28 loc) · 2.06 KB

LookupEntityBody

PermissionLookupEntityRequest is the request message for the LookupEntity method in the Permission service.

Properties

Name Type Description Notes
metadata PermissionLookupEntityRequestMetadata [optional]
entity_type str Type of the entity to lookup, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes. [optional]
permission str Name of the permission to check, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes. [optional]
subject Subject [optional]
context Context [optional]
scope Dict[str, StringArrayValue] Scope: A map that associates entity types with lists of identifiers. Each entry helps filter requests by specifying which entities are relevant to the operation. [optional]
page_size int page_size is the number of entities 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_entity_body import LookupEntityBody

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

# convert the object into a dict
lookup_entity_body_dict = lookup_entity_body_instance.to_dict()
# create an instance of LookupEntityBody from a dict
lookup_entity_body_from_dict = LookupEntityBody.from_dict(lookup_entity_body_dict)

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