Class SportEventConditionsImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.SportEventConditionsImpl
- All Implemented Interfaces:
SportEventConditions
Provides information about sport event conditions
-
Constructor Summary
ConstructorsConstructorDescriptionSportEventConditionsImpl(SportEventConditionsCi sportEventConditionsCi, List<Locale> locales) Initializes a new instance ofSportEventConditionsImpl -
Method Summary
Modifier and TypeMethodDescriptionReturns aStringspecifying the attendance of the associated sport eventReturns the mode of the eventReturns the list ofPitcherReturns theRefereeinstance representing the referee presiding over the associated sport eventReturns theWeatherInfoinstance representing the expected weather on the associated sport eventtoString()Returns aStringdescribing the currentSportEventConditionsinstance
-
Constructor Details
-
SportEventConditionsImpl
public SportEventConditionsImpl(SportEventConditionsCi sportEventConditionsCi, List<Locale> locales) Initializes a new instance ofSportEventConditionsImpl- Parameters:
sportEventConditionsCi- - aSportEventConditionsCiused to build the instancelocales- - aListof locales supported by the instance
-
-
Method Details
-
getAttendance
Returns aStringspecifying the attendance of the associated sport event- Specified by:
getAttendancein interfaceSportEventConditions- Returns:
- - a
Stringspecifying the attendance of the associated sport event
-
getEventMode
Returns the mode of the event- Specified by:
getEventModein interfaceSportEventConditions- Returns:
- - the mode of the event
-
getReferee
Returns theRefereeinstance representing the referee presiding over the associated sport event- Specified by:
getRefereein interfaceSportEventConditions- Returns:
- - the
Refereeinstance representing the referee presiding over the associated sport event, if available; otherwise null
-
getWeatherInfo
Returns theWeatherInfoinstance representing the expected weather on the associated sport event- Specified by:
getWeatherInfoin interfaceSportEventConditions- Returns:
- - the
WeatherInfoinstance representing the expected weather on the associated sport event, if available; otherwise null
-
getPitchers
Returns the list ofPitcher- Specified by:
getPitchersin interfaceSportEventConditions- Returns:
- the list of
Pitcher
-
toString
Returns aStringdescribing the currentSportEventConditionsinstance- Overrides:
toStringin classObject- Returns:
- - a
Stringdescribing the currentSportEventConditionsinstance
-