@Generated(value={"Immutables.generator","FioDataPoint"}) public final class ImmutableFioDataPoint extends FioDataPoint
FioDataPoint.
Use the builder to create immutable instances:
ImmutableFioDataPoint.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableFioDataPoint.Builder
Builds instances of type
ImmutableFioDataPoint. |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
apparentTemperature()
A numerical value representing the apparent (or "feels like") temperature at the
given time in degrees Fahrenheit.
|
BigDecimal |
apparentTemperatureMax()
A numerical value representing the maximumum apparent temperature on the given day
in degrees Fahrenheit.
|
Long |
apparentTemperatureMaxTime()
The UNIX time at which
apparentTemperatureMax() occurs. |
BigDecimal |
apparentTemperatureMin()
A numerical value representing the minimum apparent temperature on the given day in
degrees Fahrenheit.
|
Long |
apparentTemperatureMinTime()
The UNIX time at which
apparentTemperatureMin() occurs. |
static ImmutableFioDataPoint.Builder |
builder()
Creates a builder for
ImmutableFioDataPoint. |
BigDecimal |
cloudCover()
A numerical value between 0 and 1 (inclusive) representing the percentage of sky
occluded by clouds.
|
static ImmutableFioDataPoint |
copyOf(FioDataPoint instance)
Creates an immutable copy of a
FioDataPoint value. |
BigDecimal |
dewPoint()
A numerical value representing the dew point at the given time in degrees
Fahrenheit.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableFioDataPoint that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
time, summary, icon, sunriseTime, sunsetTime, moonPhase, nearestStormDistance, nearestStormBearing, precipIntensity, precipIntensityMax, precipIntensityMaxTime, precipProbability, precipType, precipAccumulation, temperature, temperatureMin, temperatureMinTime, temperatureMax, temperatureMaxTime, apparentTemperature, apparentTemperatureMin, apparentTemperatureMinTime, apparentTemperatureMax, apparentTemperatureMaxTime, dewPoint, windSpeed, windBearing, cloudCover, humidity, pressure, visibility, ozone. |
BigDecimal |
humidity()
A numerical value between 0 and 1 (inclusive) representing the relative humidity.
|
FioIcon |
icon()
A machine-readable text summary of this data point, suitable for selecting an icon
for display.
|
BigDecimal |
moonPhase()
A number representing the fractional part of the lunation number of 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()
A numerical value representing the direction of the nearest storm in degrees, with
true north at 0° and progressing clockwise.
|
BigDecimal |
nearestStormDistance()
A numerical value representing the distance to the nearest storm in miles.
|
BigDecimal |
ozone()
A numerical value representing the columnar density of total atmospheric ozone at
the given time in Dobson units.
|
BigDecimal |
precipAccumulation()
The amount of snowfall accumulation expected to occur on the given day, in inches.
|
BigDecimal |
precipIntensity()
A numerical value representing the average expected intensity (in inches of liquid
water per hour) of precipitation occurring at the given time conditional on
probability (that is, assuming any precipitation occurs at all).
|
BigDecimal |
precipIntensityMax()
Numerical values representing the maximumum expected intensity of precipitation on
the given day in inches of liquid water per hour.
|
Long |
precipIntensityMaxTime()
The UNIX time at which
precipIntensityMax() occurs on the given day |
BigDecimal |
precipProbability()
A numerical value between 0 and 1 (inclusive) representing the probability of
precipitation occurring at the given time.
|
FioPrecipType |
precipType()
The type of precipitation occurring at the given time.
|
BigDecimal |
pressure()
A numerical value representing the sea-level air pressure in millibars.
|
String |
summary()
A human-readable text summary of this data point.
|
Long |
sunriseTime()
The UNIX time (that is, seconds since midnight GMT on 1 Jan 1970) of the last
sunrise before the solar noon closest to local noon on the given day.
|
Long |
sunsetTime()
The UNIX time (that is, seconds since midnight GMT on 1 Jan 1970) of the first
sunset after the solar noon closest to local noon on the given day.
|
BigDecimal |
temperature()
A numerical value representing the temperature at the given time in degrees
Fahrenheit.
|
BigDecimal |
temperatureMax()
A numerical value representing the maximumum temperature on the given day in
degrees Fahrenheit.
|
Long |
temperatureMaxTime()
The UNIX time at which
temperatureMax() occurs. |
BigDecimal |
temperatureMin()
Numerical values representing the minimum temperature on the given day in degrees
Fahrenheit.
|
Long |
temperatureMinTime()
The UNIX time at which
temperatureMin() occurs. |
long |
time()
The UNIX time (that is, seconds since midnight GMT on 1 Jan 1970) at which this
data point occurs
|
String |
toString()
Prints the immutable value
FioDataPoint with attribute values. |
BigDecimal |
visibility()
A numerical value representing the average visibility in miles, capped at 10 miles.
|
BigDecimal |
windBearing()
A numerical value representing the direction that the wind is coming from in
degrees, with true north at 0° and progressing clockwise.
|
BigDecimal |
windSpeed()
A numerical value representing the wind speed in miles per hour.
|
ImmutableFioDataPoint |
withApparentTemperature(BigDecimal value)
Copy the current immutable object by setting a value for the
apparentTemperature attribute. |
ImmutableFioDataPoint |
withApparentTemperatureMax(BigDecimal value)
Copy the current immutable object by setting a value for the
apparentTemperatureMax attribute. |
ImmutableFioDataPoint |
withApparentTemperatureMaxTime(Long value)
Copy the current immutable object by setting a value for the
apparentTemperatureMaxTime attribute. |
ImmutableFioDataPoint |
withApparentTemperatureMin(BigDecimal value)
Copy the current immutable object by setting a value for the
apparentTemperatureMin attribute. |
ImmutableFioDataPoint |
withApparentTemperatureMinTime(Long value)
Copy the current immutable object by setting a value for the
apparentTemperatureMinTime attribute. |
ImmutableFioDataPoint |
withCloudCover(BigDecimal value)
Copy the current immutable object by setting a value for the
cloudCover attribute. |
ImmutableFioDataPoint |
withDewPoint(BigDecimal value)
Copy the current immutable object by setting a value for the
dewPoint attribute. |
ImmutableFioDataPoint |
withHumidity(BigDecimal value)
Copy the current immutable object by setting a value for the
humidity attribute. |
ImmutableFioDataPoint |
withIcon(FioIcon value)
Copy the current immutable object by setting a value for the
icon attribute. |
ImmutableFioDataPoint |
withMoonPhase(BigDecimal value)
Copy the current immutable object by setting a value for the
moonPhase attribute. |
ImmutableFioDataPoint |
withNearestStormBearing(BigDecimal value)
Copy the current immutable object by setting a value for the
nearestStormBearing attribute. |
ImmutableFioDataPoint |
withNearestStormDistance(BigDecimal value)
Copy the current immutable object by setting a value for the
nearestStormDistance attribute. |
ImmutableFioDataPoint |
withOzone(BigDecimal value)
Copy the current immutable object by setting a value for the
ozone attribute. |
ImmutableFioDataPoint |
withPrecipAccumulation(BigDecimal value)
Copy the current immutable object by setting a value for the
precipAccumulation attribute. |
ImmutableFioDataPoint |
withPrecipIntensity(BigDecimal value)
Copy the current immutable object by setting a value for the
precipIntensity attribute. |
ImmutableFioDataPoint |
withPrecipIntensityMax(BigDecimal value)
Copy the current immutable object by setting a value for the
precipIntensityMax attribute. |
ImmutableFioDataPoint |
withPrecipIntensityMaxTime(Long value)
Copy the current immutable object by setting a value for the
precipIntensityMaxTime attribute. |
ImmutableFioDataPoint |
withPrecipProbability(BigDecimal value)
Copy the current immutable object by setting a value for the
precipProbability attribute. |
ImmutableFioDataPoint |
withPrecipType(FioPrecipType value)
Copy the current immutable object by setting a value for the
precipType attribute. |
ImmutableFioDataPoint |
withPressure(BigDecimal value)
Copy the current immutable object by setting a value for the
pressure attribute. |
ImmutableFioDataPoint |
withSummary(String value)
Copy the current immutable object by setting a value for the
summary attribute. |
ImmutableFioDataPoint |
withSunriseTime(Long value)
Copy the current immutable object by setting a value for the
sunriseTime attribute. |
ImmutableFioDataPoint |
withSunsetTime(Long value)
Copy the current immutable object by setting a value for the
sunsetTime attribute. |
ImmutableFioDataPoint |
withTemperature(BigDecimal value)
Copy the current immutable object by setting a value for the
temperature attribute. |
ImmutableFioDataPoint |
withTemperatureMax(BigDecimal value)
Copy the current immutable object by setting a value for the
temperatureMax attribute. |
ImmutableFioDataPoint |
withTemperatureMaxTime(Long value)
Copy the current immutable object by setting a value for the
temperatureMaxTime attribute. |
ImmutableFioDataPoint |
withTemperatureMin(BigDecimal value)
Copy the current immutable object by setting a value for the
temperatureMin attribute. |
ImmutableFioDataPoint |
withTemperatureMinTime(Long value)
Copy the current immutable object by setting a value for the
temperatureMinTime attribute. |
ImmutableFioDataPoint |
withTime(long value)
Copy the current immutable object by setting a value for the
time attribute. |
ImmutableFioDataPoint |
withVisibility(BigDecimal value)
Copy the current immutable object by setting a value for the
visibility attribute. |
ImmutableFioDataPoint |
withWindBearing(BigDecimal value)
Copy the current immutable object by setting a value for the
windBearing attribute. |
ImmutableFioDataPoint |
withWindSpeed(BigDecimal value)
Copy the current immutable object by setting a value for the
windSpeed attribute. |
getAdditionalProperties, getAdditionalPropertypublic long time()
time in class FioDataPointpublic String summary()
summary in class FioDataPointpublic FioIcon icon()
icon in class FioDataPointpublic Long sunriseTime()
Only defined on daily data points
sunriseTime in class FioDataPointpublic Long sunsetTime()
Only defined on daily data points
sunsetTime in class FioDataPointpublic BigDecimal moonPhase()
Only defined on daily data points
moonPhase in class FioDataPointpublic BigDecimal nearestStormDistance()
Only defined on currently data points
nearestStormDistance in class FioDataPointpublic BigDecimal nearestStormBearing()
Only defined on currently data points
nearestStormBearing in class FioDataPointpublic BigDecimal precipIntensity()
precipIntensity in class FioDataPointpublic BigDecimal precipIntensityMax()
Only defined on daily data points
precipIntensityMax in class FioDataPointpublic Long precipIntensityMaxTime()
precipIntensityMax() occurs on the given day
Only defined on daily data points.
precipIntensityMaxTime in class FioDataPointpublic BigDecimal precipProbability()
precipProbability in class FioDataPointpublic FioPrecipType precipType()
precipIntensity() is zero, then this property will not be defined.)precipType in class FioDataPointpublic BigDecimal precipAccumulation()
Only defined on hourly and daily data points
precipAccumulation in class FioDataPointpublic BigDecimal temperature()
Not defined on daily data points.
temperature in class FioDataPointpublic BigDecimal temperatureMin()
Only defined on daily data points.
temperatureMin in class FioDataPointpublic Long temperatureMinTime()
temperatureMin() occurs.
Only defined on daily data points.
temperatureMinTime in class FioDataPointpublic BigDecimal temperatureMax()
Only defined on daily data points.
temperatureMax in class FioDataPointpublic Long temperatureMaxTime()
temperatureMax() occurs.
Only defined on daily data points.
temperatureMaxTime in class FioDataPointpublic BigDecimal apparentTemperature()
Not defined on daily data points
apparentTemperature in class FioDataPointpublic BigDecimal apparentTemperatureMin()
Only defined on daily data points.
apparentTemperatureMin in class FioDataPointpublic Long apparentTemperatureMinTime()
apparentTemperatureMin() occurs.
Only defined on daily data points.
apparentTemperatureMinTime in class FioDataPointpublic BigDecimal apparentTemperatureMax()
Only defined on daily data points.
apparentTemperatureMax in class FioDataPointpublic Long apparentTemperatureMaxTime()
apparentTemperatureMax() occurs.
Only defined on daily data points.
apparentTemperatureMaxTime in class FioDataPointpublic BigDecimal dewPoint()
dewPoint in class FioDataPointpublic BigDecimal windSpeed()
windSpeed in class FioDataPointpublic BigDecimal windBearing()
windBearing in class FioDataPointpublic BigDecimal cloudCover()
cloudCover in class FioDataPointpublic BigDecimal humidity()
humidity in class FioDataPointpublic BigDecimal pressure()
pressure in class FioDataPointpublic BigDecimal visibility()
visibility in class FioDataPointpublic BigDecimal ozone()
ozone in class FioDataPointpublic final ImmutableFioDataPoint 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 ImmutableFioDataPoint withSummary(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 ImmutableFioDataPoint withIcon(FioIcon value)
icon attribute.
A shallow reference 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 ImmutableFioDataPoint withSunriseTime(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 ImmutableFioDataPoint withSunsetTime(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 ImmutableFioDataPoint withMoonPhase(BigDecimal value)
moonPhase attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for moonPhase (can be null)this objectpublic final ImmutableFioDataPoint withNearestStormDistance(BigDecimal value)
nearestStormDistance attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for nearestStormDistance (can be null)this objectpublic final ImmutableFioDataPoint withNearestStormBearing(BigDecimal value)
nearestStormBearing attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for nearestStormBearing (can be null)this objectpublic final ImmutableFioDataPoint withPrecipIntensity(BigDecimal value)
precipIntensity attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for precipIntensity (can be null)this objectpublic final ImmutableFioDataPoint withPrecipIntensityMax(BigDecimal value)
precipIntensityMax attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for precipIntensityMax (can be null)this objectpublic final ImmutableFioDataPoint withPrecipIntensityMaxTime(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 ImmutableFioDataPoint withPrecipProbability(BigDecimal value)
precipProbability attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for precipProbability (can be null)this objectpublic final ImmutableFioDataPoint withPrecipType(FioPrecipType value)
precipType attribute.
A shallow reference 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 ImmutableFioDataPoint withPrecipAccumulation(BigDecimal value)
precipAccumulation attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for precipAccumulation (can be null)this objectpublic final ImmutableFioDataPoint withTemperature(BigDecimal value)
temperature attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for temperature (can be null)this objectpublic final ImmutableFioDataPoint withTemperatureMin(BigDecimal value)
temperatureMin attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for temperatureMin (can be null)this objectpublic final ImmutableFioDataPoint withTemperatureMinTime(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 ImmutableFioDataPoint withTemperatureMax(BigDecimal value)
temperatureMax attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for temperatureMax (can be null)this objectpublic final ImmutableFioDataPoint withTemperatureMaxTime(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 ImmutableFioDataPoint withApparentTemperature(BigDecimal value)
apparentTemperature attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for apparentTemperature (can be null)this objectpublic final ImmutableFioDataPoint withApparentTemperatureMin(BigDecimal value)
apparentTemperatureMin attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureMin (can be null)this objectpublic final ImmutableFioDataPoint withApparentTemperatureMinTime(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 ImmutableFioDataPoint withApparentTemperatureMax(BigDecimal value)
apparentTemperatureMax attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for apparentTemperatureMax (can be null)this objectpublic final ImmutableFioDataPoint withApparentTemperatureMaxTime(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 ImmutableFioDataPoint withDewPoint(BigDecimal value)
dewPoint attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for dewPoint (can be null)this objectpublic final ImmutableFioDataPoint withWindSpeed(BigDecimal value)
windSpeed attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for windSpeed (can be null)this objectpublic final ImmutableFioDataPoint withWindBearing(BigDecimal value)
windBearing attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for windBearing (can be null)this objectpublic final ImmutableFioDataPoint withCloudCover(BigDecimal value)
cloudCover attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for cloudCover (can be null)this objectpublic final ImmutableFioDataPoint withHumidity(BigDecimal value)
humidity attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for humidity (can be null)this objectpublic final ImmutableFioDataPoint withPressure(BigDecimal value)
pressure attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for pressure (can be null)this objectpublic final ImmutableFioDataPoint withVisibility(BigDecimal value)
visibility attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for visibility (can be null)this objectpublic final ImmutableFioDataPoint withOzone(BigDecimal value)
ozone attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for ozone (can be null)this objectpublic boolean equals(Object another)
ImmutableFioDataPoint that have equal attribute values.public int hashCode()
time, summary, icon, sunriseTime, sunsetTime, moonPhase, nearestStormDistance, nearestStormBearing, precipIntensity, precipIntensityMax, precipIntensityMaxTime, precipProbability, precipType, precipAccumulation, temperature, temperatureMin, temperatureMinTime, temperatureMax, temperatureMaxTime, apparentTemperature, apparentTemperatureMin, apparentTemperatureMinTime, apparentTemperatureMax, apparentTemperatureMaxTime, dewPoint, windSpeed, windBearing, cloudCover, humidity, pressure, visibility, ozone.public String toString()
FioDataPoint with attribute values.public static ImmutableFioDataPoint copyOf(FioDataPoint instance)
FioDataPoint 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 ImmutableFioDataPoint.Builder builder()
ImmutableFioDataPoint.Copyright © 2016. All rights reserved.