SearchCollectionsResponseHitsItem

class pydelfini.delfini_core.models.search_collections_response_hits_item.SearchCollectionsResponseHitsItem(collection, data_elements, highlights, items, score)[source]

Bases: object

SearchCollectionsResponseHitsItem model

Parameters:
collection

Core collection properties, with IDs

Type:

Collection

data_elements
Type:

List[‘SearchCollectionsResponseHitsItemDataElementsItem’]

highlights
Type:

Highlights

items
Type:

List[‘SearchCollectionsResponseHitsItemItemsItem’]

score
Type:

float

Attributes

collection

data_elements

highlights

items

score

classmethod from_dict(src_dict)[source]

Create an instance of SearchCollectionsResponseHitsItem from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]