@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 the API response in units other than the default Imperial units
|
String latitude()
String longitude()
Boolean extendHourly()
DsLanguage language()
DsUnit unit()
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. All rights reserved.