DataChange represents a single change in data, with an operation type and the actual change which could be a tuple or an attribute.
Name | Type | Description | Notes |
---|---|---|---|
operation | DataChangeOperation | [optional] | |
tuple | Tuple | [optional] | |
attribute | Attribute | [optional] |
from permify.models.data_change import DataChange
# TODO update the JSON string below
json = "{}"
# create an instance of DataChange from a JSON string
data_change_instance = DataChange.from_json(json)
# print the JSON string representation of the object
print(DataChange.to_json())
# convert the object into a dict
data_change_dict = data_change_instance.to_dict()
# create an instance of DataChange from a dict
data_change_from_dict = DataChange.from_dict(data_change_dict)