Class WeatherForecast

java.lang.Object
com.cercalia.sdk.model.poi.WeatherForecast

public final class WeatherForecast extends Object
Represents a weather forecast for a location.
  • Method Details

    • getLocationName

      @NotNull public @NotNull String getLocationName()
      Returns:
      The location name for which the forecast is provided.
    • getCoord

      @NotNull public @NotNull Coordinate getCoord()
      Returns:
      The geographic coordinates of the location.
    • getLastUpdate

      @Nullable public @Nullable String getLastUpdate()
      Returns:
      The timestamp of the last forecast update.
    • getForecasts

      @NotNull public @NotNull List<WeatherDayForecast> getForecasts()
      Returns:
      The list of daily forecasts.
    • builder

      public static WeatherForecast.Builder builder()
      Returns:
      A new builder instance.
    • toString

      public String toString()
      Overrides:
      toString in class Object