Class SuggestResult

    • Constructor Detail

      • SuggestResult

        public SuggestResult()
    • Method Detail

      • setStatus

        public void setStatus​(SuggestStatus status)

        The status of a SuggestRequest. Contains the resource ID ( rid) and how long it took to process the request ( timems).

        Parameters:
        status - The status of a SuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).
      • getStatus

        public SuggestStatus getStatus()

        The status of a SuggestRequest. Contains the resource ID ( rid) and how long it took to process the request ( timems).

        Returns:
        The status of a SuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).
      • withStatus

        public SuggestResult withStatus​(SuggestStatus status)

        The status of a SuggestRequest. Contains the resource ID ( rid) and how long it took to process the request ( timems).

        Parameters:
        status - The status of a SuggestRequest. Contains the resource ID (rid) and how long it took to process the request (timems).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSuggest

        public void setSuggest​(SuggestModel suggest)

        Container for the matching search suggestion information.

        Parameters:
        suggest - Container for the matching search suggestion information.
      • getSuggest

        public SuggestModel getSuggest()

        Container for the matching search suggestion information.

        Returns:
        Container for the matching search suggestion information.
      • withSuggest

        public SuggestResult withSuggest​(SuggestModel suggest)

        Container for the matching search suggestion information.

        Parameters:
        suggest - Container for the matching search suggestion information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object