Class WeatherValueYear

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

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

    • getValue

      public Float getValue()
      Get the value property: Rounded value.
      Returns:
      the value value.
    • getUnit

      public String getUnit()
      Get the unit property: Type of unit for the returned value.
      Returns:
      the unit value.
    • getUnitType

      public Integer getUnitType()
      Get the unitType property: Numeric ID value associated with the type of unit being displayed. Can be used for unit translation. Please refer to [Weather Service Concepts](https://aka.ms/AzureMapsWeatherConcepts) for details.
      Returns:
      the unitType value.
    • getYear

      public Integer getYear()
      Get the year property: Year the value occurred.
      Returns:
      the year value.