1 package net.pterodactylus.rhynodge.webpages.weather
3 import com.fasterxml.jackson.annotation.JsonProperty
4 import net.pterodactylus.rhynodge.webpages.weather.WindDirection
7 * Container for weather conditions of a single hour.
9 * @author [David ‘Bombe’ Roden](mailto:bombe@pterodactylus.net)
12 @JsonProperty("hourIndex") val hourIndex: Int,
13 @JsonProperty("temperature") val temperature: Int,
14 @JsonProperty("feltTemperature") val feltTemperature: Int? = null,
15 @JsonProperty("rainProbability") val rainProbability: Double,
16 @JsonProperty("rainAmount") val rainAmount: Double,
17 @JsonProperty("windDirection") val windDirection: WindDirection,
18 @JsonProperty("windSpeed") val windSpeed: Int,
19 @JsonProperty("gustSpeed") val gustSpeed: Int? = null,
20 @JsonProperty("humidity") val humidity: Double? = null,
21 @JsonProperty("description") val description: String,
22 @JsonProperty("image") val image: String)