@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableDsDataPoint extends DsDataPoint
DsDataPoint.
Use the builder to create immutable instances:
ImmutableDsDataPoint.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableDsDataPoint.Builder
Builds instances of type
ImmutableDsDataPoint. |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
apparentTemperature()
The apparent (or "feels like") temperature in degrees Fahrenheit.
|
BigDecimal |
apparentTemperatureHigh()
The daytime high apparent temperature.
|
Long |
apparentTemperatureHighTime()
The UNIX time representing when
apparentTemperatureHigh() occurs. |
BigDecimal |
apparentTemperatureLow()
The overnight low apparent temperature.
|
Long |
apparentTemperatureLowTime()
The UNIX time representing when
apparentTemperatureLow() occurs. |
BigDecimal |
apparentTemperatureMax()
The maximum apparent temperature during a given date.
|
Long |
apparentTemperatureMaxTime()
The UNIX time representing when
apparentTemperatureMax() occurs. |
BigDecimal |
apparentTemperatureMin()
The minimum apparent temperature during a given date.
|
Long |
apparentTemperatureMinTime()
The UNIX time representing when
apparentTemperatureMin() occurs. |
static ImmutableDsDataPoint.Builder |
builder()
Creates a builder for
ImmutableDsDataPoint. |
BigDecimal |
cloudCover()
The percentage of sky occluded by clouds, between 0 and 1, inclusive.
|
static ImmutableDsDataPoint |
copyOf(DsDataPoint instance)
Creates an immutable copy of a
DsDataPoint value. |
BigDecimal |
dewPoint()
The dew point in degrees Fahrenheit.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableDsDataPoint that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
apparentTemperature, apparentTemperatureHigh, apparentTemperatureHighTime, apparentTemperatureLow, apparentTemperatureLowTime, apparentTemperatureMax, apparentTemperatureMaxTime, apparentTemperatureMin, apparentTemperatureMinTime, cloudCover, dewPoint, humidity, icon, moonPhase, nearestStormBearing, nearestStormDistance, ozone, precipAccumulation, precipIntensity, precipIntensityError, precipIntensityMax, precipIntensityMaxTime, precipProbability, precipType, pressure, summary, sunriseTime, sunsetTime, temperature, temperatureHigh, temperatureHighTime, temperatureLow, temperatureLowTime, temperatureMax, temperatureMaxTime, temperatureMin, temperatureMinTime, time, uvIndex, uvIndexTime, visibility, windBearing, windGust, windGustTime, windSpeed. |
BigDecimal |
humidity()
The relative humidity, between 0 and 1, inclusive.
|
DsIcon |
icon()
A machine-readable text summary of this data point, suitable for selecting an icon
for display.
|
BigDecimal |
moonPhase()
The fractional part of the lunation number during the given day: a value of 0
corresponds to a new moon, 0.25 to a first quarter moon, 0.5 to a full moon, and
0.75 to a last quarter moon.
|
BigDecimal |
nearestStormBearing()
The approximate direction of the nearest storm in degrees, with true north at 0°
and progressing clockwise.
|
BigDecimal |
nearestStormDistance()
The approximate distance to the nearest storm in miles.
|
BigDecimal |
ozone()
The columnar density of total atmospheric ozone at the given time in Dobson units.
|
BigDecimal |
precipAccumulation()
The amount of snowfall accumulation expected to occur (over the hour or day,
respectively), in inches.
|
BigDecimal |
precipIntensity()
The intensity (in inches of liquid water per hour) of precipitation occurring at
the given time.
|
BigDecimal |
precipIntensityError()
The standard deviation of the distribution of
precipIntensity(). |
BigDecimal |
precipIntensityMax()
The maximum value of
precipIntensity() during a given day. |
Long |
precipIntensityMaxTime()
The UNIX time of when
precipIntensityMax() occurs. |
BigDecimal |
precipProbability()
The probability of precipitation occurring, between 0 and 1, inclusive.
|
DsPrecipType |
precipType()
The type of precipitation occurring at the given time.
|
BigDecimal |
pressure()
The sea-level air pressure in millibars.
|
String |
summary()
A human-readable text summary of this data point.
|
Long |
sunriseTime()
The UNIX time of when the sun will rise during a given day.
|
Long |
sunsetTime()
The UNIX time of when the sun will set during a given day.
|
BigDecimal |
temperature()
The air temperature in degrees Fahrenheit.
|
BigDecimal |
temperatureHigh()
The daytime high temperature.
|
Long |
temperatureHighTime()
The UNIX time representing when
temperatureHigh() occurs. |
BigDecimal |
temperatureLow()
The overnight low temperature.
|
Long |
temperatureLowTime()
The UNIX time representing when
temperatureLow() occurs. |
BigDecimal |
temperatureMax()
The maximum temperature during a given date.
|
Long |
temperatureMaxTime()
The UNIX time representing when
temperatureMax() occurs. |
BigDecimal |
temperatureMin()
The minimum temperature during a given date.
|
Long |
temperatureMinTime()
The UNIX time representing when
temperatureMin() occurs. |
long |
time()
The UNIX time at which this data point begins.
|
String |
toString()
Prints the immutable value
DsDataPoint with attribute values. |
Integer |
uvIndex()
The UV index.
|
Long |
uvIndexTime()
The UNIX time of when the maximum
uvIndex() occurs during a given day. |
BigDecimal |
visibility()
The average visibility in miles, capped at 10 miles.
|
BigDecimal |
windBearing()
The direction that the wind is coming from in degrees, with true north at 0° and
progressing clockwise.
|
BigDecimal |
windGust()
The wind gust speed in miles per hour.
|
Long |
windGustTime()
The time at which the maximum wind gust speed occurs during the day.
|
BigDecimal |
windSpeed()
The wind speed in miles per hour.
|
ImmutableDsDataPoint |
withApparentTemperature(BigDecimal value)
Copy the current immutable object by setting a value for the
apparentTemperature attribute. |
ImmutableDsDataPoint |
withApparentTemperatureHigh(BigDecimal value)
Copy the current immutable object by setting a value for the
apparentTemperatureHigh attribute. |
ImmutableDsDataPoint |
withApparentTemperatureHighTime(Long value)
Copy the current immutable object by setting a value for the
apparentTemperatureHighTime attribute. |
ImmutableDsDataPoint |
withApparentTemperatureLow(BigDecimal value)
Copy the current immutable object by setting a value for the
apparentTemperatureLow attribute. |
ImmutableDsDataPoint |
withApparentTemperatureLowTime(Long value)
Copy the current immutable object by setting a value for the
apparentTemperatureLowTime attribute. |
ImmutableDsDataPoint |
withApparentTemperatureMax(BigDecimal value)
Copy the current immutable object by setting a value for the
apparentTemperatureMax attribute. |
ImmutableDsDataPoint |
withApparentTemperatureMaxTime(Long value)
Copy the current immutable object by setting a value for the
apparentTemperatureMaxTime attribute. |
ImmutableDsDataPoint |
withApparentTemperatureMin(BigDecimal value)
Copy the current immutable object by setting a value for the
apparentTemperatureMin attribute. |
ImmutableDsDataPoint |
withApparentTemperatureMinTime(Long value)
Copy the current immutable object by setting a value for the
apparentTemperatureMinTime attribute. |
ImmutableDsDataPoint |
withCloudCover(BigDecimal value)
Copy the current immutable object by setting a value for the
cloudCover attribute. |
ImmutableDsDataPoint |
withDewPoint(BigDecimal value)
Copy the current immutable object by setting a value for the
dewPoint attribute. |
ImmutableDsDataPoint |
withHumidity(BigDecimal value)
Copy the current immutable object by setting a value for the
humidity attribute. |
ImmutableDsDataPoint |
withIcon(DsIcon value)
Copy the current immutable object by setting a value for the
icon attribute. |
ImmutableDsDataPoint |
withMoonPhase(BigDecimal value)
Copy the current immutable object by setting a value for the
moonPhase attribute. |
ImmutableDsDataPoint |
withNearestStormBearing(BigDecimal value)
Copy the current immutable object by setting a value for the
nearestStormBearing attribute. |
ImmutableDsDataPoint |
withNearestStormDistance(BigDecimal value)
Copy the current immutable object by setting a value for the
nearestStormDistance attribute. |
ImmutableDsDataPoint |
withOzone(BigDecimal value)
Copy the current immutable object by setting a value for the
ozone attribute. |
ImmutableDsDataPoint |
withPrecipAccumulation(BigDecimal value)
Copy the current immutable object by setting a value for the
precipAccumulation attribute. |
ImmutableDsDataPoint |
withPrecipIntensity(BigDecimal value)
Copy the current immutable object by setting a value for the
precipIntensity attribute. |
ImmutableDsDataPoint |
withPrecipIntensityError(BigDecimal value)
Copy the current immutable object by setting a value for the
precipIntensityError attribute. |
ImmutableDsDataPoint |
withPrecipIntensityMax(BigDecimal value)
Copy the current immutable object by setting a value for the
precipIntensityMax attribute. |
ImmutableDsDataPoint |
withPrecipIntensityMaxTime(Long value)
Copy the current immutable object by setting a value for the
precipIntensityMaxTime attribute. |
ImmutableDsDataPoint |
withPrecipProbability(BigDecimal value)
Copy the current immutable object by setting a value for the
precipProbability attribute. |
ImmutableDsDataPoint |
withPrecipType(DsPrecipType value)
Copy the current immutable object by setting a value for the
precipType attribute. |
ImmutableDsDataPoint |
withPressure(BigDecimal value)
Copy the current immutable object by setting a value for the
pressure attribute. |
ImmutableDsDataPoint |
withSummary(String value)
Copy the current immutable object by setting a value for the
summary attribute. |
ImmutableDsDataPoint |
withSunriseTime(Long value)
Copy the current immutable object by setting a value for the
sunriseTime attribute. |
ImmutableDsDataPoint |
withSunsetTime(Long value)
Copy the current immutable object by setting a value for the
sunsetTime attribute. |
ImmutableDsDataPoint |
withTemperature(BigDecimal value)
Copy the current immutable object by setting a value for the
temperature attribute. |
ImmutableDsDataPoint |
withTemperatureHigh(BigDecimal value)
Copy the current immutable object by setting a value for the
temperatureHigh attribute. |
ImmutableDsDataPoint |
withTemperatureHighTime(Long value)
Copy the current immutable object by setting a value for the
temperatureHighTime attribute. |
ImmutableDsDataPoint |
withTemperatureLow(BigDecimal value)
Copy the current immutable object by setting a value for the
temperatureLow attribute. |
ImmutableDsDataPoint |
withTemperatureLowTime(Long value)
Copy the current immutable object by setting a value for the
temperatureLowTime attribute. |
ImmutableDsDataPoint |
withTemperatureMax(BigDecimal value)
Copy the current immutable object by setting a value for the
temperatureMax attribute. |
ImmutableDsDataPoint |
withTemperatureMaxTime(Long value)
Copy the current immutable object by setting a value for the
temperatureMaxTime attribute. |
ImmutableDsDataPoint |
withTemperatureMin(BigDecimal value)
Copy the current immutable object by setting a value for the
temperatureMin attribute. |
ImmutableDsDataPoint |
withTemperatureMinTime(Long value)
Copy the current immutable object by setting a value for the
temperatureMinTime attribute. |
ImmutableDsDataPoint |
withTime(long value)
Copy the current immutable object by setting a value for the
time attribute. |
ImmutableDsDataPoint |
withUvIndex(Integer value)
Copy the current immutable object by setting a value for the
uvIndex attribute. |
ImmutableDsDataPoint |
withUvIndexTime(Long value)
Copy the current immutable object by setting a value for the
uvIndexTime attribute. |
ImmutableDsDataPoint |
withVisibility(BigDecimal value)
Copy the current immutable object by setting a value for the
visibility attribute. |
ImmutableDsDataPoint |
withWindBearing(BigDecimal value)
Copy the current immutable object by setting a value for the
windBearing attribute. |
ImmutableDsDataPoint |
withWindGust(BigDecimal value)
Copy the current immutable object by setting a value for the
windGust attribute. |
ImmutableDsDataPoint |
withWindGustTime(Long value)
Copy the current immutable object by setting a value for the
windGustTime attribute. |
ImmutableDsDataPoint |
withWindSpeed(BigDecimal value)
Copy the current immutable object by setting a value for the
windSpeed attribute. |
@Nullable public BigDecimal apparentTemperature()
Only on DsResponse.hourly() and DsResponse.currently()
apparentTemperature in class DsDataPoint@Nullable public BigDecimal apparentTemperatureHigh()
Only on DsResponse.daily()
apparentTemperatureHigh in class DsDataPoint@Nullable public Long apparentTemperatureHighTime()
apparentTemperatureHigh() occurs.
Only on DsResponse.daily()
apparentTemperatureHighTime in class DsDataPoint@Nullable public BigDecimal apparentTemperatureLow()
Only on DsResponse.daily()
apparentTemperatureLow in class DsDataPoint@Nullable public Long apparentTemperatureLowTime()
apparentTemperatureLow() occurs.
Only on DsResponse.daily()
apparentTemperatureLowTime in class DsDataPoint@Nullable public BigDecimal apparentTemperatureMax()
Only on DsResponse.daily()
apparentTemperatureMax in class DsDataPoint@Nullable public Long apparentTemperatureMaxTime()
apparentTemperatureMax() occurs.
Only on DsResponse.daily()
apparentTemperatureMaxTime in class DsDataPoint@Nullable public BigDecimal apparentTemperatureMin()
Only on DsResponse.daily()
apparentTemperatureMin in class DsDataPoint@Nullable public Long apparentTemperatureMinTime()
apparentTemperatureMin() occurs.
Only on DsResponse.daily()
apparentTemperatureMinTime in class DsDataPoint@Nullable public BigDecimal cloudCover()
cloudCover in class DsDataPoint@Nullable public BigDecimal dewPoint()
dewPoint in class DsDataPoint@Nullable public BigDecimal humidity()
humidity in class DsDataPoint@Nullable public DsIcon icon()
icon in class DsDataPoint@Nullable public BigDecimal moonPhase()
Only on DsResponse.daily()
moonPhase in class DsDataPoint@Nullable public BigDecimal nearestStormBearing()
nearestStormDistance() is zero, then this
value will not be defined.)
Only on DsResponse.currently()
nearestStormBearing in class DsDataPoint@Nullable public BigDecimal nearestStormDistance()
Only on DsResponse.currently()
nearestStormDistance in class DsDataPoint@Nullable public BigDecimal ozone()
ozone in class DsDataPoint@Nullable public BigDecimal precipAccumulation()
Only on DsResponse.hourly(), DsResponse.currently() and
DsResponse.daily()
precipAccumulation in class DsDataPoint@Nullable public BigDecimal precipIntensity()
precipIntensity in class DsDataPoint@Nullable public BigDecimal precipIntensityError()
precipIntensity(). (We only
return this property when the full distribution, and not merely the expected mean,
can be estimated with accuracy.)precipIntensityError in class DsDataPoint@Nullable public BigDecimal precipIntensityMax()
precipIntensity() during a given day.
Only on DsResponse.daily()
precipIntensityMax in class DsDataPoint@Nullable public Long precipIntensityMaxTime()
precipIntensityMax() occurs.
Only on DsResponse.daily()
precipIntensityMaxTime in class DsDataPoint@Nullable public BigDecimal precipProbability()
precipProbability in class DsDataPoint@Nullable public DsPrecipType precipType()
precipIntensity() is zero, then this property will not be defined.
Additionally, due to the lack of data in our sources, historical precipType
information is usually estimated, rather than observed.)precipType in class DsDataPoint@Nullable public BigDecimal pressure()
pressure in class DsDataPoint@Nullable public String summary()
icon()
instead!)summary in class DsDataPoint@Nullable public Long sunriseTime()
Only on DsResponse.daily()
sunriseTime in class DsDataPoint@Nullable public Long sunsetTime()
Only on DsResponse.daily()
sunsetTime in class DsDataPoint@Nullable public BigDecimal temperature()
Only on DsResponse.hourly() and DsResponse.currently()
temperature in class DsDataPoint@Nullable public BigDecimal temperatureHigh()
Only on DsResponse.daily()
temperatureHigh in class DsDataPoint@Nullable public Long temperatureHighTime()
temperatureHigh() occurs.
Only on DsResponse.daily()
temperatureHighTime in class DsDataPoint@Nullable public BigDecimal temperatureLow()
Only on DsResponse.daily()
temperatureLow in class DsDataPoint@Nullable public Long temperatureLowTime()
temperatureLow() occurs.
Only on DsResponse.daily()
temperatureLowTime in class DsDataPoint@Nullable public BigDecimal temperatureMax()
Only on DsResponse.daily()
temperatureMax in class DsDataPoint@Nullable public Long temperatureMaxTime()
temperatureMax() occurs.
Only on DsResponse.daily()
temperatureMaxTime in class DsDataPoint@Nullable public BigDecimal temperatureMin()
Only on DsResponse.daily()
temperatureMin in class DsDataPoint@Nullable public Long temperatureMinTime()
temperatureMin() occurs.
Only on DsResponse.daily()
temperatureMinTime in class DsDataPointpublic long time()
DsResponse.minutely() data
point are always aligned to the top of the minute, DsResponse.hourly() data
point objects to the top of the hour, DsResponse.daily() data point objects
to midnight of the day, and DsResponse.currently() data point object to the
point of time provided all according to the local time zone.time in class DsDataPoint@Nullable public Integer uvIndex()
uvIndex in class DsDataPoint@Nullable public Long uvIndexTime()
uvIndex() occurs during a given day.
Only on DsResponse.daily()
uvIndexTime in class DsDataPoint@Nullable public BigDecimal visibility()
visibility in class DsDataPoint@Nullable public BigDecimal windBearing()
windSpeed() is zero, then this value will not
be defined.)windBearing in class DsDataPoint@Nullable public BigDecimal windGust()
windGust in class DsDataPoint@Nullable public Long windGustTime()
Only on DsResponse.daily()
windGustTime in class DsDataPoint@Nullable public BigDecimal windSpeed()
windSpeed in class DsDataPointpublic final ImmutableDsDataPoint withApparentTemperature(@Nullable BigDecimal value)
apparentTemperature attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperature (can be null)this objectpublic final ImmutableDsDataPoint withApparentTemperatureHigh(@Nullable BigDecimal value)
apparentTemperatureHigh attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureHigh (can be null)this objectpublic final ImmutableDsDataPoint withApparentTemperatureHighTime(@Nullable Long value)
apparentTemperatureHighTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureHighTime (can be null)this objectpublic final ImmutableDsDataPoint withApparentTemperatureLow(@Nullable BigDecimal value)
apparentTemperatureLow attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureLow (can be null)this objectpublic final ImmutableDsDataPoint withApparentTemperatureLowTime(@Nullable Long value)
apparentTemperatureLowTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureLowTime (can be null)this objectpublic final ImmutableDsDataPoint withApparentTemperatureMax(@Nullable BigDecimal value)
apparentTemperatureMax attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureMax (can be null)this objectpublic final ImmutableDsDataPoint withApparentTemperatureMaxTime(@Nullable Long value)
apparentTemperatureMaxTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureMaxTime (can be null)this objectpublic final ImmutableDsDataPoint withApparentTemperatureMin(@Nullable BigDecimal value)
apparentTemperatureMin attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureMin (can be null)this objectpublic final ImmutableDsDataPoint withApparentTemperatureMinTime(@Nullable Long value)
apparentTemperatureMinTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureMinTime (can be null)this objectpublic final ImmutableDsDataPoint withCloudCover(@Nullable BigDecimal value)
cloudCover attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for cloudCover (can be null)this objectpublic final ImmutableDsDataPoint withDewPoint(@Nullable BigDecimal value)
dewPoint attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for dewPoint (can be null)this objectpublic final ImmutableDsDataPoint withHumidity(@Nullable BigDecimal value)
humidity attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for humidity (can be null)this objectpublic final ImmutableDsDataPoint withIcon(@Nullable DsIcon value)
icon attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for icon (can be null)this objectpublic final ImmutableDsDataPoint withMoonPhase(@Nullable BigDecimal value)
moonPhase attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for moonPhase (can be null)this objectpublic final ImmutableDsDataPoint withNearestStormBearing(@Nullable BigDecimal value)
nearestStormBearing attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for nearestStormBearing (can be null)this objectpublic final ImmutableDsDataPoint withNearestStormDistance(@Nullable BigDecimal value)
nearestStormDistance attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for nearestStormDistance (can be null)this objectpublic final ImmutableDsDataPoint withOzone(@Nullable BigDecimal value)
ozone attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for ozone (can be null)this objectpublic final ImmutableDsDataPoint withPrecipAccumulation(@Nullable BigDecimal value)
precipAccumulation attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for precipAccumulation (can be null)this objectpublic final ImmutableDsDataPoint withPrecipIntensity(@Nullable BigDecimal value)
precipIntensity attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for precipIntensity (can be null)this objectpublic final ImmutableDsDataPoint withPrecipIntensityError(@Nullable BigDecimal value)
precipIntensityError attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for precipIntensityError (can be null)this objectpublic final ImmutableDsDataPoint withPrecipIntensityMax(@Nullable BigDecimal value)
precipIntensityMax attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for precipIntensityMax (can be null)this objectpublic final ImmutableDsDataPoint withPrecipIntensityMaxTime(@Nullable Long value)
precipIntensityMaxTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for precipIntensityMaxTime (can be null)this objectpublic final ImmutableDsDataPoint withPrecipProbability(@Nullable BigDecimal value)
precipProbability attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for precipProbability (can be null)this objectpublic final ImmutableDsDataPoint withPrecipType(@Nullable DsPrecipType value)
precipType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for precipType (can be null)this objectpublic final ImmutableDsDataPoint withPressure(@Nullable BigDecimal value)
pressure attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for pressure (can be null)this objectpublic final ImmutableDsDataPoint withSummary(@Nullable String value)
summary attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for summary (can be null)this objectpublic final ImmutableDsDataPoint withSunriseTime(@Nullable Long value)
sunriseTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for sunriseTime (can be null)this objectpublic final ImmutableDsDataPoint withSunsetTime(@Nullable Long value)
sunsetTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for sunsetTime (can be null)this objectpublic final ImmutableDsDataPoint withTemperature(@Nullable BigDecimal value)
temperature attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperature (can be null)this objectpublic final ImmutableDsDataPoint withTemperatureHigh(@Nullable BigDecimal value)
temperatureHigh attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperatureHigh (can be null)this objectpublic final ImmutableDsDataPoint withTemperatureHighTime(@Nullable Long value)
temperatureHighTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperatureHighTime (can be null)this objectpublic final ImmutableDsDataPoint withTemperatureLow(@Nullable BigDecimal value)
temperatureLow attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperatureLow (can be null)this objectpublic final ImmutableDsDataPoint withTemperatureLowTime(@Nullable Long value)
temperatureLowTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperatureLowTime (can be null)this objectpublic final ImmutableDsDataPoint withTemperatureMax(@Nullable BigDecimal value)
temperatureMax attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperatureMax (can be null)this objectpublic final ImmutableDsDataPoint withTemperatureMaxTime(@Nullable Long value)
temperatureMaxTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperatureMaxTime (can be null)this objectpublic final ImmutableDsDataPoint withTemperatureMin(@Nullable BigDecimal value)
temperatureMin attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperatureMin (can be null)this objectpublic final ImmutableDsDataPoint withTemperatureMinTime(@Nullable Long value)
temperatureMinTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for temperatureMinTime (can be null)this objectpublic final ImmutableDsDataPoint withTime(long value)
time attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for timethis objectpublic final ImmutableDsDataPoint withUvIndex(@Nullable Integer value)
uvIndex attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for uvIndex (can be null)this objectpublic final ImmutableDsDataPoint withUvIndexTime(@Nullable Long value)
uvIndexTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for uvIndexTime (can be null)this objectpublic final ImmutableDsDataPoint withVisibility(@Nullable BigDecimal value)
visibility attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for visibility (can be null)this objectpublic final ImmutableDsDataPoint withWindBearing(@Nullable BigDecimal value)
windBearing attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for windBearing (can be null)this objectpublic final ImmutableDsDataPoint withWindGust(@Nullable BigDecimal value)
windGust attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for windGust (can be null)this objectpublic final ImmutableDsDataPoint withWindGustTime(@Nullable Long value)
windGustTime attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for windGustTime (can be null)this objectpublic final ImmutableDsDataPoint withWindSpeed(@Nullable BigDecimal value)
windSpeed attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for windSpeed (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableDsDataPoint that have equal attribute values.public int hashCode()
apparentTemperature, apparentTemperatureHigh, apparentTemperatureHighTime, apparentTemperatureLow, apparentTemperatureLowTime, apparentTemperatureMax, apparentTemperatureMaxTime, apparentTemperatureMin, apparentTemperatureMinTime, cloudCover, dewPoint, humidity, icon, moonPhase, nearestStormBearing, nearestStormDistance, ozone, precipAccumulation, precipIntensity, precipIntensityError, precipIntensityMax, precipIntensityMaxTime, precipProbability, precipType, pressure, summary, sunriseTime, sunsetTime, temperature, temperatureHigh, temperatureHighTime, temperatureLow, temperatureLowTime, temperatureMax, temperatureMaxTime, temperatureMin, temperatureMinTime, time, uvIndex, uvIndexTime, visibility, windBearing, windGust, windGustTime, windSpeed.public String toString()
DsDataPoint with attribute values.public static ImmutableDsDataPoint copyOf(DsDataPoint instance)
DsDataPoint value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableDsDataPoint.Builder builder()
ImmutableDsDataPoint.
ImmutableDsDataPoint.builder()
.apparentTemperature(java.math.BigDecimal | null) // nullable apparentTemperature
.apparentTemperatureHigh(java.math.BigDecimal | null) // nullable apparentTemperatureHigh
.apparentTemperatureHighTime(Long | null) // nullable apparentTemperatureHighTime
.apparentTemperatureLow(java.math.BigDecimal | null) // nullable apparentTemperatureLow
.apparentTemperatureLowTime(Long | null) // nullable apparentTemperatureLowTime
.apparentTemperatureMax(java.math.BigDecimal | null) // nullable apparentTemperatureMax
.apparentTemperatureMaxTime(Long | null) // nullable apparentTemperatureMaxTime
.apparentTemperatureMin(java.math.BigDecimal | null) // nullable apparentTemperatureMin
.apparentTemperatureMinTime(Long | null) // nullable apparentTemperatureMinTime
.cloudCover(java.math.BigDecimal | null) // nullable cloudCover
.dewPoint(java.math.BigDecimal | null) // nullable dewPoint
.humidity(java.math.BigDecimal | null) // nullable humidity
.icon(ch.rasc.darksky.model.DsIcon | null) // nullable icon
.moonPhase(java.math.BigDecimal | null) // nullable moonPhase
.nearestStormBearing(java.math.BigDecimal | null) // nullable nearestStormBearing
.nearestStormDistance(java.math.BigDecimal | null) // nullable nearestStormDistance
.ozone(java.math.BigDecimal | null) // nullable ozone
.precipAccumulation(java.math.BigDecimal | null) // nullable precipAccumulation
.precipIntensity(java.math.BigDecimal | null) // nullable precipIntensity
.precipIntensityError(java.math.BigDecimal | null) // nullable precipIntensityError
.precipIntensityMax(java.math.BigDecimal | null) // nullable precipIntensityMax
.precipIntensityMaxTime(Long | null) // nullable precipIntensityMaxTime
.precipProbability(java.math.BigDecimal | null) // nullable precipProbability
.precipType(ch.rasc.darksky.model.DsPrecipType | null) // nullable precipType
.pressure(java.math.BigDecimal | null) // nullable pressure
.summary(String | null) // nullable summary
.sunriseTime(Long | null) // nullable sunriseTime
.sunsetTime(Long | null) // nullable sunsetTime
.temperature(java.math.BigDecimal | null) // nullable temperature
.temperatureHigh(java.math.BigDecimal | null) // nullable temperatureHigh
.temperatureHighTime(Long | null) // nullable temperatureHighTime
.temperatureLow(java.math.BigDecimal | null) // nullable temperatureLow
.temperatureLowTime(Long | null) // nullable temperatureLowTime
.temperatureMax(java.math.BigDecimal | null) // nullable temperatureMax
.temperatureMaxTime(Long | null) // nullable temperatureMaxTime
.temperatureMin(java.math.BigDecimal | null) // nullable temperatureMin
.temperatureMinTime(Long | null) // nullable temperatureMinTime
.time(long) // required time
.uvIndex(Integer | null) // nullable uvIndex
.uvIndexTime(Long | null) // nullable uvIndexTime
.visibility(java.math.BigDecimal | null) // nullable visibility
.windBearing(java.math.BigDecimal | null) // nullable windBearing
.windGust(java.math.BigDecimal | null) // nullable windGust
.windGustTime(Long | null) // nullable windGustTime
.windSpeed(java.math.BigDecimal | null) // nullable windSpeed
.build();
Copyright © 2016–2020. All rights reserved.