@Value.Immutable
public interface DsTimeMachineRequest
| Modifier and Type | Interface and Description |
|---|---|
static class |
DsTimeMachineRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DsTimeMachineRequest.Builder |
builder() |
Set<DsBlock> |
excludeBlocks()
Exclude some number of data blocks from the API response.
|
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).
|
long |
time()
UNIX time (that is, seconds since midnight GMT on 1 Jan 1970).
|
DsUnit |
unit()
Return weather conditions in the requested units.
|
String latitude()
String longitude()
long time()
@Nullable DsLanguage language()
unit() parameter, so be sure to set both
parameters appropriately.)
Default: DsLanguage.EN
Set<DsBlock> excludeBlocks()
By default (when this method and includeBlocks() are never called) all
blocks are included.
Set<DsBlock> includeBlocks()
By default (when this method and excludeBlocks() are never called) all
blocks are included.
static DsTimeMachineRequest.Builder builder()
Copyright © 2016–2020. All rights reserved.