1 KiB
1 KiB
SearchResult
Single search result item.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| text | str | ||
| type | str | [optional] | |
| context | str | [optional] | |
| event_date | str | [optional] | |
| document_id | str | [optional] |
Example
from hindsight_client_api.models.search_result import SearchResult
# TODO update the JSON string below
json = "{}"
# create an instance of SearchResult from a JSON string
search_result_instance = SearchResult.from_json(json)
# print the JSON string representation of the object
print(SearchResult.to_json())
# convert the object into a dict
search_result_dict = search_result_instance.to_dict()
# create an instance of SearchResult from a dict
search_result_from_dict = SearchResult.from_dict(search_result_dict)