Query Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. Query
- com.
public class Query
Defines a search query.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
displayText()
Get the displayText value. |
String |
searchLink()
Get the searchLink value. |
String |
text()
Get the text value. |
Image |
thumbnail()
Get the thumbnail value. |
String |
webSearchUrl()
Get the webSearchUrl value. |
Query |
withText(String text)
Set the text value. |
Method Details
displayText
public String displayText()
Get the displayText value.
Returns:
searchLink
public String searchLink()
Get the searchLink value.
Returns:
text
public String text()
Get the text value.
Returns:
thumbnail
public ImageObject thumbnail()
Get the thumbnail value.
Returns:
webSearchUrl
public String webSearchUrl()
Get the webSearchUrl value.
Returns:
withText
public Query withText(String text)
Set the text value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro