Response object for successful delete request
Name | Type | Description | Notes |
---|---|---|---|
index | str | The name of the index from which the document was deleted | [optional] |
deleted | int | Number of documents deleted | [optional] |
id | int | The ID of the deleted document. If multiple documents are deleted, the ID of the first deleted document is returned | [optional] |
found | bool | Indicates whether any documents to be deleted were found | [optional] |
result | str | Result of the delete operation, typically 'deleted' | [optional] |
from manticoresearch.models.delete_response import DeleteResponse
# create an instance of DeleteResponse from a JSON string
delete_response_instance = DeleteResponse.from_json(json)
# print the JSON string representation of the object
print(DeleteResponse.to_json())
# convert the object into a dict
delete_response_dict = delete_response_instance.to_dict()
# create an instance of DeleteResponse from a dict
delete_response_from_dict = DeleteResponse.from_dict(delete_response_dict)