Package com.azure.maps.weather.models
Class WeatherValueYear
java.lang.Object
com.azure.maps.weather.models.WeatherValueYear
The WeatherValueYear model.
-
Method Summary
Modifier and TypeMethodDescriptiongetUnit()
Get the unit property: Type of unit for the returned value.Get the unitType property: Numeric ID value associated with the type of unit being displayed.getValue()
Get the value property: Rounded value.getYear()
Get the year property: Year the value occurred.
-
Method Details
-
getValue
Get the value property: Rounded value.- Returns:
- the value value.
-
getUnit
Get the unit property: Type of unit for the returned value.- Returns:
- the unit value.
-
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
Get the year property: Year the value occurred.- Returns:
- the year value.
-