com.microsoft.azure.cognitiveservices.search.newssearch.models
This package contains the models classes for BingNewsSearchAPI. The News Search API lets you send a search query to Bing and get back a list of news that are relevant to the search query. This section provides technical details about the query parameters and headers that you use to request news and the JSON response objects that contain them. For examples that show how to make requests, see [Searching the web for news](https://docs.microsoft.com/en-us/azure/cognitive-services/bing-news-search/search-the-web).
Classes
Answer |
Defines an answer. |
Article |
The Article model. |
CategoryOptionalParameter |
The CategoryOptionalParameter model. |
CreativeWork |
The most generic kind of creative work, including books, movies, photographs, software programs, etc. |
Error |
Defines the error that occurred. |
ErrorCode |
Defines values for ErrorCode. |
ErrorResponse |
The top-level response that represents a failed request. |
ErrorResponseException |
Exception thrown for an invalid response with ErrorResponse information. |
ErrorSubCode |
Defines values for ErrorSubCode. |
Freshness |
Defines values for Freshness. |
Identifiable |
Defines the identity of a resource. |
ImageObject |
Defines an image. |
MediaObject |
Defines a media object. |
NewsArticle |
Defines a news article. |
NewsModel |
Defines a news answer. |
NewsTopic |
The NewsTopic model. |
Organization |
Defines an organization. |
Query |
Defines a search query. |
Response |
Defines a response. All schemas that could be returned at the root of a response should inherit from this. |
ResponseBase |
Response base. |
SafeSearch |
Defines values for SafeSearch. |
SearchOptionalParameter |
The SearchOptionalParameter model. |
SearchResultsAnswer |
Defines a search result answer. |
TextFormat |
Defines values for TextFormat. |
Thing |
Defines a thing. |
TrendingOptionalParameter |
The TrendingOptionalParameter model. |
TrendingTopics |
The TrendingTopics model. |
VideoObject |
Defines a video object that is relevant to the query. |