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:
the displayText value
searchLink
public String searchLink()
Get the searchLink value.
Returns:
the searchLink value
text
public String text()
Get the text value.
Returns:
the text value
thumbnail
public ImageObject thumbnail()
Get the thumbnail value.
Returns:
the thumbnail value
webSearchUrl
public String webSearchUrl()
Get the webSearchUrl value.
Returns:
the webSearchUrl value
withText
public Query withText(String text)
Set the text value.
Parameters:
text
- the text value to set
Returns:
the Query object itself.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java