Query Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Query
- com.
public class Query
Defines a search query.
Constructor | Description | |
---|---|---|
Query() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
display Get the display |
java.lang.String |
search Get the search |
java.lang.String |
text()
Get the text value. |
Image |
thumbnail()
Get the thumbnail value. |
java.lang.String |
web Get the web |
Query |
with Set the text value. |
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Query
public Query()
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.