News Class
- java.
lang. Object - ResponseBase
- Identifiable
- Response
- Answer
- SearchResultsAnswer
- com.
microsoft. azure. cognitiveservices. search. websearch. models. News
- com.
public class News extends SearchResultsAnswer
Defines a news answer.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
location()
Get the location value. |
List<News |
value()
Get the value value. |
News |
withValue(List<NewsArticle> value)
Set the value value. |
Inherited Members
Answer.followUpQueries()
Identifiable.id()
SearchResultsAnswer.isFamilyFriendly()
SearchResultsAnswer.queryContext()
SearchResultsAnswer.totalEstimatedMatches()
Response.webSearchUrl()
Method Details
location
public String location()
Get the location value.
Returns:
the location value
value
public List
Get the value value.
Returns:
the value value
withValue
public News withValue(List
Set the value value.
Parameters:
value
- the value value to set
Returns:
the News object itself.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.