NewsModel Class

public class NewsModel extends SearchResultsAnswer

Defines a news answer.

Method Summary

Modifier and Type Method and Description
String location()

Get the location value.

List<NewsArticle> value()

Get the value value.

NewsModel withValue(List<NewsArticle> value)

Set the value value.

Inherited Members

Method Details

location

public String location()

Get the location value.

Returns:

the location value

value

public List value()

Get the value value.

Returns:

the value value

withValue

public NewsModel withValue(List value)

Set the value value.

Parameters:

value - the value value to set

Returns:

the NewsModel object itself.

Applies to