| Package | Description |
|---|---|
| ch.rasc.darksky.model |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableDsAlert
Immutable implementation of
DsAlert. |
| Modifier and Type | Method and Description |
|---|---|
List<DsAlert> |
ImmutableDsResponse.alerts()
A list of
DsAlert instances, which, if present, contains any severe weather
alerts pertinent to the requested location. |
List<DsAlert> |
DsResponse.alerts()
A list of
DsAlert instances, which, if present, contains any severe weather
alerts pertinent to the requested location. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDsResponse.Builder |
ImmutableDsResponse.Builder.addAlerts(DsAlert... elements)
Adds elements to
alerts list. |
ImmutableDsResponse.Builder |
ImmutableDsResponse.Builder.addAlerts(DsAlert element)
Adds one element to
alerts list. |
static ImmutableDsAlert |
ImmutableDsAlert.copyOf(DsAlert instance)
Creates an immutable copy of a
DsAlert value. |
ImmutableDsAlert.Builder |
ImmutableDsAlert.Builder.from(DsAlert instance)
Fill a builder with attribute values from the provided
DsAlert instance. |
ImmutableDsResponse |
ImmutableDsResponse.withAlerts(DsAlert... elements)
Copy the current immutable object with elements that replace the content of
alerts. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableDsResponse.Builder |
ImmutableDsResponse.Builder.addAllAlerts(Iterable<? extends DsAlert> elements)
Adds elements to
alerts list. |
ImmutableDsResponse.Builder |
ImmutableDsResponse.Builder.alerts(Iterable<? extends DsAlert> elements)
Sets or replaces all elements for
alerts list. |
ImmutableDsResponse |
ImmutableDsResponse.withAlerts(Iterable<? extends DsAlert> elements)
Copy the current immutable object with elements that replace the content of
alerts. |
Copyright © 2016–2020. All rights reserved.