🎨 Replace Sinfest filter with Kotlin version
[rhynodge.git] / src / main / kotlin / net / pterodactylus / rhynodge / webpages / weather / HourState.kt
1 package net.pterodactylus.rhynodge.webpages.weather
2
3 import com.fasterxml.jackson.annotation.JsonProperty
4 import net.pterodactylus.rhynodge.webpages.weather.WindDirection
5
6 /**
7  * Container for weather conditions of a single hour.
8  *
9  * @author [David â€˜Bombe’ Roden](mailto:bombe@pterodactylus.net)
10  */
11 data class HourState(
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)