SubjectFilter is used to filter subjects based on the type, ids and relation.
Name | Type | Description | Notes |
---|---|---|---|
type | str | [optional] | |
ids | List[str] | [optional] | |
relation | str | [optional] |
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)