SearchResponse Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. websearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. websearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. websearch. models. Response - com.
microsoft. azure. cognitiveservices. search. websearch. models. SearchResponse
- com.
- com.
- com.
- com.
public class SearchResponse
extends Response
Defines the top-level object that the response includes when the request succeeds.
Constructor Summary
Constructor | Description | |
---|---|---|
SearchResponse() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Computation |
computation()
Get the computation value. |
Images |
images()
Get the images value. |
News |
news()
Get the news value. |
Query |
queryContext()
Get the query |
Ranking |
rankingResponse()
Get the ranking |
Related |
relatedSearches()
Get the related |
Spell |
spellSuggestions()
Get the spell |
Time |
timeZone()
Get the time |
Videos |
videos()
Get the videos value. |
Web |
webPages()
Get the web |
Methods inherited from Identifiable
Methods inherited from Response
Methods inherited from java.lang.Object
Constructor Details
SearchResponse
public SearchResponse()
Method Details
computation
public Computation computation()
Get the computation value.
Returns:
images
public Images images()
Get the images value.
Returns:
news
public News news()
Get the news value.
Returns:
queryContext
public QueryContext queryContext()
Get the queryContext value.
Returns:
rankingResponse
public RankingRankingResponse rankingResponse()
Get the rankingResponse value.
Returns:
relatedSearches
public RelatedSearchesRelatedSearchAnswer relatedSearches()
Get the relatedSearches value.
Returns:
spellSuggestions
public SpellSuggestions spellSuggestions()
Get the spellSuggestions value.
Returns:
timeZone
public TimeZone timeZone()
Get the timeZone value.
Returns:
videos
public Videos videos()
Get the videos value.
Returns:
webPages
public WebWebAnswer webPages()
Get the webPages value.
Returns:
Applies to
Azure SDK for Java