java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.WeatherInfoImpl
All Implemented Interfaces:
WeatherInfo

public class WeatherInfoImpl extends Object implements WeatherInfo
Provides information about weather conditions
  • Constructor Details

  • Method Details

    • getPitch

      public String getPitch()
      Returns the pitch weather
      Specified by:
      getPitch in interface WeatherInfo
      Returns:
      - the pitch weather
    • getTemperature

      public Integer getTemperature()
      Returns the temperature in degrees Celsius
      Specified by:
      getTemperature in interface WeatherInfo
      Returns:
      - the temperature in degrees Celsius or a null reference if the temperature is not known
    • getWeatherConditions

      public String getWeatherConditions()
      Returns the summary of the weather conditions
      Specified by:
      getWeatherConditions in interface WeatherInfo
      Returns:
      - the summary of the weather conditions or a null reference if the weather conditions are not known
    • getWind

      public String getWind()
      Returns the wind conditions
      Specified by:
      getWind in interface WeatherInfo
      Returns:
      - the wind conditions or a null reference if the wind status is not known
    • getWindAdvantage

      public String getWindAdvantage()
      Returns the wind advantage information
      Specified by:
      getWindAdvantage in interface WeatherInfo
      Returns:
      - the wind advantage information or a null reference if the wind advantage is not known
    • toString

      public String toString()
      Returns a String describing the current WeatherInfo instance
      Overrides:
      toString in class Object
      Returns:
      - a String describing the current WeatherInfo instance