EconomicIndicatorResponse

An economic indicator series: the indicator's name, the interval and unit its values are reported in, and the observations themselves as a list of EconomicIndicatorUnit.

Author

Sylvester Sefa-Yeboah

Since

1.7.0

Types

Link copied to clipboard
Reads an EconomicIndicatorResponse out of a decoded JSON map.

Properties

Link copied to clipboard
@Json(name = "data")
public List<EconomicIndicatorUnit> data
Link copied to clipboard
public final String errorMessage
Link copied to clipboard
@Json(name = "interval")
public String interval
Link copied to clipboard
@Json(name = "name")
public String name
Link copied to clipboard
@Json(name = "unit")
public String unit

Functions

Link copied to clipboard
Gets the observations in this series, ordered as returned by the API.
Link copied to clipboard
Gets the error message returned by the API, if the request failed.
Link copied to clipboard
Gets the interval this series is reported at, for example "quarterly".
Link copied to clipboard
public String getName()
Gets the name of this economic indicator, for example "Real Gross Domestic Product".
Link copied to clipboard
public String getUnit()
Gets the unit this series' values are reported in, for example "billions of dollars".
Link copied to clipboard
public static EconomicIndicatorResponse of(Map<String, Object> stringObjectMap)
Parses a raw JSON map into an EconomicIndicatorResponse.