CurrentWeather

data class CurrentWeather(val isDay: Int, val weatherCode: Int, val cloudCover: Int, val windSpeed: Double, val temperature: Double, val humidity: Int)

Constructors

Link copied to clipboard
constructor(isDay: Int, weatherCode: Int, cloudCover: Int, windSpeed: Double, temperature: Double, humidity: Int)

Properties

Link copied to clipboard
@SerializedName(value = "cloud_cover")
val cloudCover: Int
Link copied to clipboard
@SerializedName(value = "relative_humidity_2m")
val humidity: Int
Link copied to clipboard
@SerializedName(value = "is_day")
val isDay: Int
Link copied to clipboard
@SerializedName(value = "temperature_2m")
val temperature: Double
Link copied to clipboard
@SerializedName(value = "weather_code")
val weatherCode: Int
Link copied to clipboard
@SerializedName(value = "wind_speed_10m")
val windSpeed: Double