Query Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. newssearch. 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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla