Class HistoricalWeatherData

java.lang.Object
com.github.prominence.openweathermap.api.model.onecall.historical.HistoricalWeatherData

public class HistoricalWeatherData extends Object
The type Historical weather data.
  • Constructor Details

    • HistoricalWeatherData

      public HistoricalWeatherData()
  • Method Details

    • getCoordinate

      public Coordinate getCoordinate()
      Gets coordinate.
      Returns:
      the coordinate
    • setCoordinate

      public void setCoordinate(Coordinate coordinate)
      Sets coordinate.
      Parameters:
      coordinate - the coordinate
    • getTimezone

      public ZoneId getTimezone()
      Gets timezone.
      Returns:
      the timezone
    • setTimezone

      public void setTimezone(ZoneId timezone)
      Sets timezone.
      Parameters:
      timezone - the timezone
    • getTimezoneOffset

      public ZoneOffset getTimezoneOffset()
      Gets timezone offset.
      Returns:
      the timezone offset
    • setTimezoneOffset

      public void setTimezoneOffset(ZoneOffset timezoneOffset)
      Sets timezone offset.
      Parameters:
      timezoneOffset - the timezone offset
    • getHistoricalWeather

      public HistoricalWeather getHistoricalWeather()
      Gets historical weather.
      Returns:
      the historical weather
    • setHistoricalWeather

      public void setHistoricalWeather(HistoricalWeather historicalWeather)
      Sets historical weather.
      Parameters:
      historicalWeather - the historical weather
    • getHourlyList

      public List<HourlyHistorical> getHourlyList()
      Gets hourly list.
      Returns:
      the hourly list
    • setHourlyList

      public void setHourlyList(List<HourlyHistorical> hourlyList)
      Sets hourly list.
      Parameters:
      hourlyList - the hourly list
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object