News Class
Defines a news answer.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.cognitiveservices.search.websearch.models._models_py3.SearchResultsAnswerNews
Constructor
News(*, value, **kwargs)
Parameters
- value
- list[NewsArticle]
Required. An array of NewsArticle objects that contain information about news articles that are relevant to the query. If there are no results to return for the request, the array is empty.
Variables
- id
- str
A String identifier.
- web_search_url
- str
The URL To Bing's search result for this item.
- query_context
- QueryContext
- total_estimated_matches
- <xref:long>
The estimated number of webpages that are relevant to the query. Use this number along with the count and offset query parameters to page the results.
- is_family_friendly
- bool
- location
- str
Feedback
Submit and view feedback for