def __init__(self,
                 id=None,
                 metadata=None,
                 collection_id=None,
                 result_metadata=None,
                 title=None,
                 **kwargs):
        """
        Initialize a QueryResult object.

        :param str id: (optional) The unique identifier of the document.
        :param dict metadata: (optional) Metadata of the document.
        :param str collection_id: (optional) The collection ID of the collection
        containing the document for this result.
        :param QueryResultMetadata result_metadata: (optional) Metadata of a query result.
        :param str title: (optional) Automatically extracted result title.
        :param **kwargs: (optional) Any additional properties.
        """
        self.id = id
        self.metadata = metadata
        self.collection_id = collection_id
        self.result_metadata = result_metadata
        self.title = title
        for _key, _value in kwargs.items():
            setattr(self, _key, _value)
def __init__ ( self , id = None , metadata = None , collection_id = None , result_metadata = None , title = None , ** kwargs ) : self . id = id self . metadata = metadata self . collection_id = collection_id self . result_metadata = result_metadata self . title = title for _key , _value in kwargs . items ( ) : setattr ( self , _key , _value )
Initialize a QueryResult object.

        :param str id: (optional) The unique identifier of the document.
        :param dict metadata: (optional) Metadata of the document.
        :param str collection_id: (optional) The collection ID of the collection
        containing the document for this result.
        :param QueryResultMetadata result_metadata: (optional) Metadata of a query result.
        :param str title: (optional) Automatically extracted result title.
        :param **kwargs: (optional) Any additional properties.