NewsArticle Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- Thing
- CreativeWork
- Article
- com.
microsoft. azure. cognitiveservices. search. newssearch. models. NewsArticle
- com.
public class NewsArticle extends Article
Defines a news article.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
category()
Get the category value. |
List<News |
clusteredArticles()
Get the clusteredArticles value. |
Boolean |
headline()
Get the headline value. |
Inherited Members
Thing.alternateName()
Thing.bingId()
CreativeWork.datePublished()
Thing.description()
Identifiable.id()
Thing.image()
Thing.name()
CreativeWork.provider()
CreativeWork.thumbnailUrl()
Thing.url()
CreativeWork.video()
Response.webSearchUrl()
Article.wordCount()
Method Details
category
public String category()
Get the category value.
Returns:
the category value
clusteredArticles
public List
Get the clusteredArticles value.
Returns:
the clusteredArticles value
headline
public Boolean headline()
Get the headline value.
Returns:
the headline value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java