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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java