Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 864 Bytes

File metadata and controls

31 lines (22 loc) · 864 Bytes

Entity

Entity represents an entity with a type and an identifier.

Properties

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

Example

from permify.models.entity import Entity

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

# convert the object into a dict
entity_dict = entity_instance.to_dict()
# create an instance of Entity from a dict
entity_form_dict = entity.from_dict(entity_dict)

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