Class SearchInfo.SearchResult

java.lang.Object
com.alibaba.dashscope.legacy_2x.common.SearchInfo.SearchResult
Enclosing class:
SearchInfo

public static class SearchInfo.SearchResult extends Object
  • Constructor Details

  • Method Details

    • builder

      public static SearchInfo.SearchResult.SearchResultBuilder<?,?> builder()
    • getSiteName

      public String getSiteName()
      Name of the website providing the search result.
    • getIcon

      public String getIcon()
      Icon URL of the source website, or an empty string if no icon is available.
    • getIndex

      public Integer getIndex()
      Index of this result in search_results.
    • getTitle

      public String getTitle()
      Title of the search result.
    • getUrl

      public String getUrl()
      URL of the search result.
    • setSiteName

      public void setSiteName(String siteName)
      Name of the website providing the search result.
    • setIcon

      public void setIcon(String icon)
      Icon URL of the source website, or an empty string if no icon is available.
    • setIndex

      public void setIndex(Integer index)
      Index of this result in search_results.
    • setTitle

      public void setTitle(String title)
      Title of the search result.
    • setUrl

      public void setUrl(String url)
      URL of the search result.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object