package com.lutka.weatherstation;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Paulina on 16/11/2014.
 */
public class ReadingsFeed
{
    @SerializedName("TemperatureReadings")
    List<Reading> temperatureReadings;

    @SerializedName("HumidityReadings")
    List<Reading> humidityReadings;

    public List<Reading> getTemperatureReadings()
    {
        return temperatureReadings;
    }

    public List<Reading> getHumidityReadings()
    {
        return humidityReadings;
    }
}




@@ -333,24 +333,184 @@
 yReadings;%0A%0A
+    @SerializedName(%22TemperatureForecast%22)%0A    List%3CReading%3E temperatureForecast;%0A%0A    @SerializedName(%22HumidityForecast%22)%0A    List%3CReading%3E humidityForecast;%0A%0A
     public L
@@ -687,14 +687,206 @@
 s;%0A    %7D
+%0A%0A    public List%3CReading%3E getTemperatureForecast()%0A    %7B%0A        return temperatureForecast;%0A    %7D%0A%0A    public List%3CReading%3E getHumidityForecast()%0A    %7B%0A        return humidityForecast;%0A    %7D
 %0A%7D%0A%0A%0A%0A

add forecast data: temp and humidity