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
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應