Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 940 Bytes

Subject.md

File metadata and controls

32 lines (23 loc) · 940 Bytes

Subject

Subject represents an entity subject with a type, an identifier, and a relation.

Properties

Name Type Description Notes
type str [optional]
id str [optional]
relation str [optional]

Example

from permify.models.subject import Subject

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

# convert the object into a dict
subject_dict = subject_instance.to_dict()
# create an instance of Subject from a dict
subject_from_dict = Subject.from_dict(subject_dict)

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