@Value.Immutable
public interface DsResponse
| Modifier and Type | Method and Description |
|---|---|
List<DsAlert> |
alerts()
A collection of
DsAlert instances, which, if present, contains any severe
weather alerts, issued by a governmental weather authority, pertinent to the
requested location. |
DsDataPoint |
currently()
An instance of
DsDataPoint containing the current weather conditions at the
requested location. |
DsDataBlock |
daily()
An instance of
DsDataPoint containing the weather conditions day-by-day for
the next week. |
DsFlag |
flags()
An instance of
DsFlag containing miscellaneous metadata about the request. |
DsDataBlock |
hourly()
An instance of
DsDataPoint containing the weather conditions hour-by-hour
for the next two days. |
BigDecimal |
latitude()
The requested latitude.
|
BigDecimal |
longitude()
The requested longitude.
|
DsDataBlock |
minutely()
An instance of
DsDataPoint containing the weather conditions
minute-by-minute for the next hour. |
int |
offset()
The current timezone offset in hours.
|
String |
timezone()
The IANA timezone name for the requested location.
|
BigDecimal latitude()
BigDecimal longitude()
String timezone()
DsDataPoint.summary() text and for determining when hourly() and
daily() data block objects begin.int offset()
DsDataPoint currently()
DsDataPoint containing the current weather conditions at the
requested location.DsDataBlock minutely()
DsDataPoint containing the weather conditions
minute-by-minute for the next hour.DsDataBlock hourly()
DsDataPoint containing the weather conditions hour-by-hour
for the next two days.DsDataBlock daily()
DsDataPoint containing the weather conditions day-by-day for
the next week.List<DsAlert> alerts()
DsAlert instances, which, if present, contains any severe
weather alerts, issued by a governmental weather authority, pertinent to the
requested location.Copyright © 2016. All rights reserved.