Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.46 KB

SuccessResponse.md

File metadata and controls

33 lines (24 loc) · 1.46 KB

SuccessResponse

Response object indicating the success of an operation, such as inserting or updating a document

Properties

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]

Example

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)

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