Class SportEventConditionsCi

java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.ci.SportEventConditionsCi

public class SportEventConditionsCi extends Object
A sport event conditions representation used by caching components
  • Constructor Details

    • SportEventConditionsCi

      public SportEventConditionsCi(com.sportradar.uf.sportsapi.datamodel.SapiSportEventConditions seConditions, Locale locale)
      Initializes a new instance of the SportEventConditionsCi class
      Parameters:
      seConditions - - SapiSportEventConditions containing information about the competitor
      locale - - Locale specifying the language of the seConditions
    • SportEventConditionsCi

      public SportEventConditionsCi(ExportableSportEventConditionsCi exportable)
  • Method Details

    • merge

      public void merge(com.sportradar.uf.sportsapi.datamodel.SapiSportEventConditions seConditions, Locale locale)
      Merges the information from the provided SapiSportEventConditions into the current instance
      Parameters:
      seConditions - - SapiSportEventConditions containing information about the competitor
      locale - - Locale specifying the language of the seConditions
    • getAttendance

      public String getAttendance()
      Returns a String specifying the attendance of the associated sport event
      Returns:
      - a String specifying the attendance of the associated sport event
    • getEventMode

      public String getEventMode()
      Returns the mode of the event
      Returns:
      - the mode of the event
    • getReferee

      public RefereeCi getReferee()
      Returns the RefereeCi instance representing the referee presiding over the associated sport event
      Returns:
      - the RefereeCi instance representing the referee presiding over the associated sport event
    • getWeatherInfo

      public WeatherInfoCi getWeatherInfo()
      Returns the WeatherInfoCi instance representing the expected weather on the associated sport event
      Returns:
      - the WeatherInfoCi instance representing the expected weather on the associated sport event
    • getPitchers

      public List<PitcherCi> getPitchers()
      Returns the list of associated Pitcher
      Returns:
      the list of assocaited Pitcher
    • export