Class SearchInfo.SearchResult
java.lang.Object
com.alibaba.dashscope.legacy_2x.common.SearchInfo.SearchResult
- Enclosing class:
- SearchInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSearchInfo.SearchResult.SearchResultBuilder<C extends SearchInfo.SearchResult,B extends SearchInfo.SearchResult.SearchResultBuilder<C, B>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchInfo.SearchResult.SearchResultBuilder<?,?> builder()protected booleanbooleangetIcon()Icon URL of the source website, or an empty string if no icon is available.getIndex()Index of this result in search_results.Name of the website providing the search result.getTitle()Title of the search result.getUrl()URL of the search result.inthashCode()voidIcon URL of the source website, or an empty string if no icon is available.voidIndex of this result in search_results.voidsetSiteName(String siteName) Name of the website providing the search result.voidTitle of the search result.voidURL of the search result.toString()
-
Constructor Details
-
SearchResult
-
-
Method Details
-
builder
-
getSiteName
Name of the website providing the search result. -
getIcon
Icon URL of the source website, or an empty string if no icon is available. -
getIndex
Index of this result in search_results. -
getTitle
Title of the search result. -
getUrl
URL of the search result. -
setSiteName
Name of the website providing the search result. -
setIcon
Icon URL of the source website, or an empty string if no icon is available. -
setIndex
Index of this result in search_results. -
setTitle
Title of the search result. -
setUrl
URL of the search result. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-