NewsArticle Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. newssearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. newssearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. newssearch. models. Response - com.
microsoft. azure. cognitiveservices. search. newssearch. models. Thing - com.
microsoft. azure. cognitiveservices. search. newssearch. models. CreativeWork - com.
microsoft. azure. cognitiveservices. search. newssearch. models. Article - com.
microsoft. azure. cognitiveservices. search. newssearch. models. NewsArticle
- com.
- com.
- com.
- com.
- com.
- com.
- com.
public class NewsArticle
extends Article
Defines a news article.
Constructor Summary
Constructor | Description | |
---|---|---|
NewsArticle() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
category()
Get the category value. |
java.util.List<News |
clusteredArticles()
Get the clustered |
java.lang.Boolean |
headline()
Get the headline value. |
Methods inherited from Article
Methods inherited from CreativeWork
Methods inherited from Identifiable
Methods inherited from Response
Methods inherited from Thing
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
NewsArticle
public NewsArticle()
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