Class ForecastInterval

java.lang.Object
com.azure.maps.weather.models.ForecastInterval

public final class ForecastInterval extends Object
The ForecastInterval model.
  • Method Details

    • getStartTime

      public OffsetDateTime getStartTime()
      Get the startTime property: The date and time for the start of the interval in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.
      Returns:
      the startTime value.
    • getMinute

      public Integer getMinute()
      Get the minute property: The first minute for the interval.
      Returns:
      the minute value.
    • getDecibelRelativeToZ

      public Double getDecibelRelativeToZ()
      Get the decibelRelativeToZ property: A unit that represents forecasted precipitation intensity.
      Returns:
      the decibelRelativeToZ value.
    • getShortDescription

      public String getShortDescription()
      Get the shortDescription property: A short phrase describing precipitation condition for the interval.
      Returns:
      the shortDescription value.
    • getThreshold

      public String getThreshold()
      Get the threshold property: Key that specifies the threshold value. Along with precipitationType, can be used to determine the simplifiedColor. If dbz is zero, not present in the response.
      Returns:
      the threshold value.
    • getColor

      public ColorValue getColor()
      Get the color property: The full spectrum color that maps to the dBZ (decibel relative to Z). If dbz is zero, color is not present in the response.
      Returns:
      the color value.
    • getSimplifiedColor

      public ColorValue getSimplifiedColor()
      Get the simplifiedColor property: The band color that maps to the precipitation type and threshold. If dbz is zero, not present in the response.
      Returns:
      the simplifiedColor value.
    • getPrecipitationType

      public PrecipitationType getPrecipitationType()
      Get the precipitationType property: Specifies the type of precipitation ("Rain" "Snow" "Ice" or "Mix"). If dbz is zero, precipitationType is not present in the response.
      Returns:
      the precipitationType value.
    • getIconCode

      public IconCode getIconCode()
      Get the iconCode property: Numeric value representing an image that displays the `iconPhrase`. Please refer to [Weather Service Concepts](https://aka.ms/AzureMapsWeatherConcepts) for details.
      Returns:
      the iconCode value.
    • getCloudCover

      public Integer getCloudCover()
      Get the cloudCover property: Percent representing cloud cover.
      Returns:
      the cloudCover value.