SearchResponse Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. customsearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. customsearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. customsearch. models. Response - com.
microsoft. azure. cognitiveservices. search. customsearch. 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 |
---|---|
Query |
queryContext()
Get the query |
Web |
webPages()
Get the web |
Methods inherited from Identifiable
Methods inherited from Response
Methods inherited from java.lang.Object
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
Constructor Details
SearchResponse
public SearchResponse()
Method Details
queryContext
public QueryContext queryContext()
Get the queryContext value.
Returns:
the queryContext value
webPages
public WebWebAnswer webPages()
Get the webPages value.
Returns:
the webPages value