Class WeatherInfoImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.WeatherInfoImpl
- All Implemented Interfaces:
WeatherInfo
Provides information about weather conditions
-
Constructor Summary
ConstructorsConstructorDescriptionWeatherInfoImpl(WeatherInfoCi weatherInfo) Initializes a new instance of theWeatherInfoImplclass -
Method Summary
Modifier and TypeMethodDescriptiongetPitch()Returns the pitch weatherReturns the temperature in degrees CelsiusReturns the summary of the weather conditionsgetWind()Returns the wind conditionsReturns the wind advantage informationtoString()Returns aStringdescribing the currentWeatherInfoinstance
-
Constructor Details
-
WeatherInfoImpl
Initializes a new instance of theWeatherInfoImplclass- Parameters:
weatherInfo- - aWeatherInfoCiused to build the instance
-
-
Method Details
-
getPitch
Returns the pitch weather- Specified by:
getPitchin interfaceWeatherInfo- Returns:
- - the pitch weather
-
getTemperature
Returns the temperature in degrees Celsius- Specified by:
getTemperaturein interfaceWeatherInfo- Returns:
- - the temperature in degrees Celsius or a null reference if the temperature is not known
-
getWeatherConditions
Returns the summary of the weather conditions- Specified by:
getWeatherConditionsin interfaceWeatherInfo- Returns:
- - the summary of the weather conditions or a null reference if the weather conditions are not known
-
getWind
Returns the wind conditions- Specified by:
getWindin interfaceWeatherInfo- Returns:
- - the wind conditions or a null reference if the wind status is not known
-
getWindAdvantage
Returns the wind advantage information- Specified by:
getWindAdvantagein interfaceWeatherInfo- Returns:
- - the wind advantage information or a null reference if the wind advantage is not known
-
toString
Returns aStringdescribing the currentWeatherInfoinstance- Overrides:
toStringin classObject- Returns:
- - a
Stringdescribing the currentWeatherInfoinstance
-