News Class

public class News
extends SearchResultsAnswer

Defines a news answer.

Constructor Summary

Constructor Description
News()

Method Summary

Modifier and Type Method and Description
java.lang.String location()

Get the location value.

java.util.List<NewsArticle> value()

Get the value value.

News withValue(List<NewsArticle> value)

Set the value value.

Methods inherited from Answer

Methods inherited from Identifiable

id

Methods inherited from Response

Methods inherited from SearchResultsAnswer

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

News

public News()

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 News withValue(List value)

Set the value value.

Parameters:

value - the value value to set

Returns:

the News object itself.

Applies to