Class WeatherState

java.lang.Object
com.github.prominence.openweathermap.api.model.WeatherState

public class WeatherState extends Object
The type Weather state.
  • Constructor Details

  • Method Details

    • getId

      public int getId()
      Gets id.
      Returns:
      the id
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • getIconId

      public String getIconId()
      Gets icon id.
      Returns:
      the icon id
    • setIconId

      public void setIconId(String iconId)
      Sets icon id.
      Parameters:
      iconId - the icon id
    • getWeatherConditionEnum

      public WeatherCondition getWeatherConditionEnum()
      Gets weather condition enum.
      Returns:
      the weather condition enum
    • getWeatherIconUrl

      public String getWeatherIconUrl()
      Gets weather icon url.
      Returns:
      the weather icon url
    • 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