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