Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1 KB

SubjectFilter.md

File metadata and controls

32 lines (23 loc) · 1 KB

SubjectFilter

SubjectFilter is used to filter subjects based on the type, ids and relation.

Properties

Name Type Description Notes
type str [optional]
ids List[str] [optional]
relation str [optional]

Example

from permify.models.subject_filter import SubjectFilter

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

# convert the object into a dict
subject_filter_dict = subject_filter_instance.to_dict()
# create an instance of SubjectFilter from a dict
subject_filter_from_dict = SubjectFilter.from_dict(subject_filter_dict)

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