File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/src/main/java/com/coderGtm/yantra/commands/weather Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,10 @@ data class Current(
6666 @SerialName(" gust_mph" ) val gustMph : Double ,
6767 @SerialName(" gust_kph" ) val gustKph : Double ,
6868 @SerialName(" air_quality" ) val airQuality : AirQuality ,
69- @SerialName(" short_rad" ) val shortRad : Double ,
70- @SerialName(" diff_rad" ) val diffRad : Double ,
71- val dni : Double ,
72- val gti : Double
69+ @SerialName(" short_rad" ) val shortRad : Double? = null ,
70+ @SerialName(" diff_rad" ) val diffRad : Double? = null ,
71+ val dni : Double? = null ,
72+ val gti : Double? = null
7373)
7474
7575@Serializable
@@ -124,7 +124,7 @@ data class DayForecast(
124124 @SerialName(" daily_chance_of_snow" ) val dailyChanceOfSnow : Int ,
125125 val condition : Condition ,
126126 val uv : Double ,
127- @SerialName(" air_quality" ) val airQuality : AirQuality
127+ @SerialName(" air_quality" ) val airQuality : AirQuality ? = null
128128)
129129
130130@Serializable
You can’t perform that action at this time.
0 commit comments