Response object indicating the success of an operation, such as inserting or updating a document
Name | Type | Description | Notes |
---|---|---|---|
index | str | Name of the document index | [optional] |
id | int | ID of the document affected by the request operation | [optional] |
created | bool | Indicates whether the document was created as a result of the operation | [optional] |
result | str | Result of the operation, typically 'created', 'updated', or 'deleted' | [optional] |
found | bool | Indicates whether the document was found in the index | [optional] |
status | int | HTTP status code representing the result of the operation | [optional] |
from manticoresearch.models.success_response import SuccessResponse
# create an instance of SuccessResponse from a JSON string
success_response_instance = SuccessResponse.from_json(json)
# print the JSON string representation of the object
print(SuccessResponse.to_json())
# convert the object into a dict
success_response_dict = success_response_instance.to_dict()
# create an instance of SuccessResponse from a dict
success_response_from_dict = SuccessResponse.from_dict(success_response_dict)