Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.08 KB

Rewrite.md

File metadata and controls

31 lines (22 loc) · 1.08 KB

Rewrite

The Rewrite message represents a specific rewrite operation. This operation could be one of the following: union, intersection, or exclusion.

Properties

Name Type Description Notes
rewrite_operation RewriteOperation [optional]
children List[Child] A list of children that are operated upon by the rewrite operation. [optional]

Example

from permify.models.rewrite import Rewrite

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

# convert the object into a dict
rewrite_dict = rewrite_instance.to_dict()
# create an instance of Rewrite from a dict
rewrite_from_dict = Rewrite.from_dict(rewrite_dict)

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