diff --git a/src/main/java/no/nibio/vips/entity/PointWeatherObservationList.java b/src/main/java/no/nibio/vips/entity/PointWeatherObservationList.java index 9dddc827f6ab92f8ea0cc9cce55bae941a3d9ced..af1f8f37b6b353dee071701b2056489565eda574 100644 --- a/src/main/java/no/nibio/vips/entity/PointWeatherObservationList.java +++ b/src/main/java/no/nibio/vips/entity/PointWeatherObservationList.java @@ -31,6 +31,7 @@ import java.util.List; public class PointWeatherObservationList { private Coordinate coordinate; private List<WeatherObservation> observations; + private String timeZone; public PointWeatherObservationList(){ @@ -39,11 +40,13 @@ public class PointWeatherObservationList { @JsonCreator public PointWeatherObservationList( @JsonProperty("coordinate") Coordinate coordinate, - @JsonProperty("observations") List<WeatherObservation> observations + @JsonProperty("observations") List<WeatherObservation> observations, + @JsonProperty("timeZone") String timeZone ) { this.coordinate = coordinate; this.observations = observations; + this.timeZone = timeZone; } /** @@ -88,4 +91,18 @@ public class PointWeatherObservationList { } return retVal; } + + /** + * @return the timeZone + */ + public String getTimeZone() { + return timeZone; + } + + /** + * @param timeZone the timeZone to set + */ + public void setTimeZone(String timeZone) { + this.timeZone = timeZone; + } }