NewsTopic Class

NewsTopic.

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.newssearch.models._models_py3.Thing
NewsTopic

Constructor

NewsTopic(**kwargs)

Parameters

_type
str
Required

Required. Constant filled by server.

Variables

id
str

A String identifier.

web_search_url
str

The URL To Bing's search result for this item.

name
str

The name of the thing represented by this object.

url
str

The URL to get more information about the thing represented by this object.

image
ImageObject

An image of the item.

description
str

A short description of the item.

alternate_name
str

An alias for the item

bing_id
str

An ID that uniquely identifies this item.

is_breaking_news
bool

A Boolean value that indicates whether the topic is considered breaking news. If the topic is considered breaking news, the value is true.

query
Query

A search query term that returns this trending topic.

news_search_url
str

The URL to the Bing News search results for the search query term