Class ListResponse<T>

    • Constructor Detail

      • ListResponse

        public ListResponse()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDocuments

        public List<T> getDocuments()
        The documents from the given engine
        Returns:
        the result documents
      • getMeta

        public Meta getMeta()
        The list metadata
        Returns:
        the response metadata
      • setDocuments

        public ListResponse<T> setDocuments​(List<T> documents)
        The documents from the given engine
        Parameters:
        documents - the result documents
        Returns:
        this.
      • setMeta

        public ListResponse<T> setMeta​(Meta meta)
        The list metadata
        Parameters:
        meta - the response metadata
        Returns:
        this.