[AB-97] adding wind speed to weather command

fixing command failing non gracefully in case the location for weather was not found
This commit is contained in:
Sheldan
2023-09-05 01:44:01 +02:00
parent b369b56823
commit 156725afa6
4 changed files with 8 additions and 0 deletions

View File

@@ -34,4 +34,5 @@ public class WeatherResponseModel {
private String countryKey;
private Color embedColor;
private Long locationId;
private Float windSpeed;
}

View File

@@ -21,6 +21,8 @@ public class WeatherResult {
private WeatherResultRain rainInfo;
@SerializedName("snow")
private WeatherResultSnow snowInfo;
@SerializedName("wind")
private WeatherResultWind wind;
@SerializedName("dt")
private Long dayTime;
@SerializedName("clouds")