Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.22 KB

RelationDefinition.md

File metadata and controls

31 lines (22 loc) · 1.22 KB

RelationDefinition

The RelationDefinition message provides detailed information about a specific relation.

Properties

Name Type Description Notes
name str The name of the relation, which follows a specific string pattern and has a maximum byte size. [optional]
relation_references List[RelationReference] A list of references to other relations. [optional]

Example

from permify.models.relation_definition import RelationDefinition

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

# convert the object into a dict
relation_definition_dict = relation_definition_instance.to_dict()
# create an instance of RelationDefinition from a dict
relation_definition_from_dict = RelationDefinition.from_dict(relation_definition_dict)

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