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