def __init__(self, took=None, total_num_hits=None, max_score=None, hits=None, **kwargs):
        """
        Constructor.

        :param took: Number of milliseconds that the query took to execute.
        :param total_num_hits: Total number of hits.
        :param max_score: The maximum score.
        :param hits: List of :class:`FileSearchHit` objects.
        """
        super(FileSearchResult, self).__init__(
            took=took, total_num_hits=total_num_hits, max_score=max_score,
            hits=self._get_object(FileSearchHit, hits), **kwargs)
def __init__ ( self , took = None , total_num_hits = None , max_score = None , hits = None , ** kwargs ) : super ( FileSearchResult , self ) . __init__ ( took = took , total_num_hits = total_num_hits , max_score = max_score , hits = self . _get_object ( FileSearchHit , hits ) , ** kwargs )
Constructor.

        :param took: Number of milliseconds that the query took to execute.
        :param total_num_hits: Total number of hits.
        :param max_score: The maximum score.
        :param hits: List of :class:`FileSearchHit` objects.