@Value.Immutable
public interface DsForecastRequest
| Modifier and Type | Interface and Description |
|---|---|
static class |
DsForecastRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DsForecastRequest.Builder |
builder() |
Set<DsBlock> |
excludeBlocks()
Exclude some number of data blocks from the API response.
|
Boolean |
extendHourly()
When called, returns hour-by-hour data for the next 168 hours, instead of the next
48.
|
Set<DsBlock> |
includeBlocks()
Include some number of data blocks in the API response.
|
DsLanguage |
language()
Return summary properties in the desired language.
|
String |
latitude()
The latitude of a location (in decimal degrees).
|
String |
longitude()
The longitude of a location (in decimal degrees).
|
DsUnit |
unit()
Return weather conditions in the requested units.
|
String latitude()
String longitude()
@Nullable Boolean extendHourly()
@Nullable DsLanguage language()
Default: DsLanguage.EN
Set<DsBlock> excludeBlocks()
By default (when this method and includeBlocks() is never called) all
blocks are included.
Set<DsBlock> includeBlocks()
By default (when this method and excludeBlocks() is never called) all
blocks are included.
static DsForecastRequest.Builder builder()
Copyright © 2016–2020. All rights reserved.