Skip to content

Commit

Permalink
fix: climate change api elevation in response
Browse files Browse the repository at this point in the history
  • Loading branch information
DadiBit committed Jun 11, 2023
1 parent 91b398e commit 912cf63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/main/kotlin/com/openmeteo/api/ClimateChange.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ object ClimateChange : Endpoint(
open class Response(
override val latitude: Float,
override val longitude: Float,
override val elevation: Float,
override val utcOffsetSeconds: Int,
override val timezone: Timezone,
override val timezoneAbbreviation: String,
override val generationtimeMs: Float,
override val dailyUnits: Map<String, Unit> = mapOf(),
@SerialName("daily")
override val dailyValues: Map<String, Array<Double?>> = mapOf(),
) : R.Coordinate, R.GenerationTimed, R.TimeZone, R.Daily
) : R.Coordinate, R.Elevation, R.GenerationTimed, R.TimeZone, R.Daily

@Serializable
object Models : Options.Models, Options.Listable<Models>() {
Expand Down

0 comments on commit 912cf63

Please sign in to comment.