Skip to content

Latest commit

 

History

History
32 lines (23 loc) Β· 1.4 KB

File metadata and controls

32 lines (23 loc) Β· 1.4 KB

DataWriteBody

DataWriteRequest defines the structure of a request for writing data. It contains the necessary information such as tenant_id, metadata, tuples and attributes for the write operation.

Properties

Name Type Description Notes
metadata DataWriteRequestMetadata [optional]
tuples List[Tuple] tuples contains the list of tuples (entity-relation-entity triples) that need to be written. [optional]
attributes List[Attribute] attributes contains the list of attributes (entity-attribute-value triples) that need to be written. [optional]

Example

from permify.models.data_write_body import DataWriteBody

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

# convert the object into a dict
data_write_body_dict = data_write_body_instance.to_dict()
# create an instance of DataWriteBody from a dict
data_write_body_form_dict = data_write_body.from_dict(data_write_body_dict)

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