This serializable class contains the model of the API response of OneCallApi.
Properties
Latitude (double): The latitude of the location analyzed.
Longitude (double): The longitude of the location analyzed.
TimezoneName (string): The name of the location’s timezone.
TimezoneOffset (int): Shift in seconds from UTC.
CurrentWeather (object?): The current weather, can be null if excluded.
AnalysisDateUnix (long): The analysis date in unix seconds, UTC.
AnalysisDate (DateTime): The analysis date, UTC.
SunriseTimeUnix (long): The sunrise time in unix seconds, UTC.
SunriseTime (DateTime): The sunrise time, UTC.
SunsetTimeUnix (long): The sunset time in unix seconds, UTC.
SunsetTime (DateTime): The sunset time, UTC.
Temperature (double): The temperature of the location, depends on the measurement system.
TemperaturePerception (double): The temperature of the location, accounting for the human perception of temperature. Depends on the measurement system.
AtmosphericPressure (int): The atmospheric pressure in the sea level, in hPa.
HumidityPercentage (int): THe humidity (%) of the location.
DewPoint (double): The atmospheric temperature (that varies according to pressure and humidity), below which water droplets begin to condense and dew can form. Depends on the measurement system.
UVIndex (double?): The current UV index, can be null in places where it is not available.
CloudPercentage (int): The percentage of clouds in the sky.
Visibility (int): The average visibility in meters.
WindSpeed (double): The speed of the wind, depends on the measurement system.
WindDirection (int): The direction of the wind in degrees.
WindGust (double?): The wind gust. Can be null if not available.
Rain (object?): Information about the rain. Can be null if not available.
PastHourVolume (double?): Rain volume for the last hour.
Snow (object?): Information about the snow. Can be null if not available.
PastHourVolume (double?): Snow volume for the last hour.
Description (object[]): Information and a description of the weather.
Id (int): The OpenWeatherMap Weather ID.
Title (string): A small description of the weather in english.
Description (string): A short sentence that describes the weather in the language given.
IconId (string): The OpenWeatherMap Icon ID.
IconUrl (string): The url of the weather icon.
MinutelyForecasts (object[]?): A list of minutely forecasts for 1 hour, that contain only the precipitation volume. Can be null if excluded or not available.
AnalysisDateUnix (long): Time of the forecasted data in unix seconds, UTC.
AnalysisDate (DateTime): Time of the forecasted data, UTC.
PrecipitationVolume (double): The precipitation in milimeters.
HourlyForecasts (object[]?): A list of hourly forecasts for 2 days. Can be null if excluded.
AnalysisDateUnix (long): Time of the forecasted data in unix seconds, UTC.
AnalysisDate (DateTime): Time of the forecasted data, UTC.
Temperature (double): The temperature, depends on the measurement system.
TemperaturePerception (double): The temperature, accounting for the human perception of temperature. Depends on the measurement system.
AtmosphericPressure (int): The atmospheric pressure on the sea level, in hPa.
HumidityPercentage (int): The humidity (%).
DewPoint (double): The atmospheric temperature (that varies according to pressure and humidity), below which water droplets begin to condense and dew can form.
UVIndex (double?): The UV index. Can be null if not available.
CloudPercentage (int): The amount of clouds in the sky (%).
Visibility (int): The average visibility in meters.
WindSpeed (double): The speed of the wind, depends on the measurement system.
WindDirection (int): The direction of the wind, in degrees.
WindGust (double?): The wind gust. Can be null if not available.
PrecipitationProbability (double?): The probability of precipitation, can be null if not available.
Rain (object?): Information about the rain. Can be null if not available.
PastHourVolume (double?): Rain volume for the past hour.
Snow (object?): Information about the snow. Can be null if not available.
PastHourVolume (double?): Snow volue for the past hour.
Description (object[]): Information and a description of the weather.
Id (int): The OpenWeatherMap Weather ID.
Title (string): A small description of the weather in english.
Description (string): A short sentence that describes the weather in the language given.
IconId (string): The OpenWeatherMap Icon ID.
IconUrl (string): The url of the weather icon.
DailyForecasts (object[]?): A list of daily forecasts for a week, can be null if excluded or not available.
AnalysisDateUnix (long): Time of the forecasted data in unix seconds, UTC.
AnalysisDate (DateTime): Time of the forecasted data, UTC.
SunriseTimeUnix (long): The sunrise time in unix seconds, UTC.
SunriseTime (DateTime): The sunrise time, UTC.
SunsetTimeUnix (long): The sunset time in unix seconds, UTC.
SunsetTime (DateTime): The sunset time, UTC.
MoonriseTimeUnix (long): The moonrise time in unix seconds, UTC.
MoonriseTime (DateTime): The moonrise time, UTC.
MoonsetTimeUnix (long): The moonset time in unix seconds, UTC.
MoonsetTime (DateTime): The moonset time, UTC.
MoonPhaseIndex (double): The moon phase:
0 and 1: New moon.
0 to 0.25: Waxing crescent.
0.25: First quarter moon.
0.25 and 0.5: Waxing gibous.
0.5: Full moon
0.5 to 0.75: Waning gibous.
0.75: Last quarter moon.
0.75 to 1: Waning crescent.
MoonPhase (string): The moon phase in english.
Temperature (object): Description of the temperature of the day, depends on the measurement system.
Morning (double): The morning temperature.
Day (double): The day temperature.
Evening (double): The evening temperature.
Night (double): The night temperature.
Minimum (double): The minimum temperature of the day.
Maximum (double): The maximum temperature of the day.
TemperaturePerception (object): Description of the temperature of the day, accounting for the human perception of temperature. Depends on the measurement system.
Morning (double): The morning temperature, accounting for the human perception of temperature.
Day (double): The day temperature, accounting for the human perception of temperature.
Evening (double): The evening temperature, accounting for the human perception of temperature.
Night (double): The night temperature, accounting for the human perception of temperature.
AtmosphericPressure (int): The atmospheric pressure on the sea level, in hPa.
HumidityPercentage (int): The humidity (%).
DewPoint (double): The atmospheric pressure (that varies according to pressure and humidity), below which water droplets begin to condense and dew can form.
WindSpeed (double): The speed of the wind. Depends on the measurement system.
WindDirection (int): The direction of the wind in degrees.
WindGust (double?): The wind gust. Can be null if not available.
CloudPercentage (int): The amount of clouds in the sky (%).
UVIndex (double): The maximum UV index of the day.
PrecipitationProbability (double): The probability of precipitation.
Rain (double?): Precipitation volume, can be null if not available.
Snow (double?): Snow volume, can be null if not available.
Description (object): Information and a description of the weather.
Id (int): The OpenWeatherMap Weather ID.
Title (string): A small description of the weather in english.
Description (string): A short sentence that describes the weather in the language given.
IconId (string): The OpenWeatherMap Icon ID.
IconUrl (string): The url of the weather icon.
NationalAlerts (object[]?): A list of national alerts from major national weather warning systems for the previous 5 days, the alerts can be either in english or in a local language. Can be null if excluded or not available.
Sender (string): The name of the sender of the alert.
Event (string): The event of the alert.
StartUnix (long): The date and time of the start of the alert in unix seconds, UTC.
Start (DateTime): The date and time of the start of the alert, UTC.
EndUnix (long): The date and time of the end of the alert in unix seconds, UTC.
End (DateTime): The date and time of the end of the alert, UTC.