Class SeasonCoverageCi

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

public class SeasonCoverageCi extends Object
A season coverage representation used by caching components
  • Constructor Details

    • SeasonCoverageCi

      public SeasonCoverageCi(com.sportradar.uf.sportsapi.datamodel.SapiSeasonCoverageInfo season)
      Initializes a new instance of the SeasonCoverageCi class
      Parameters:
      season - - SapiSeasonCoverageInfo containing information about the season coverage
    • SeasonCoverageCi

      public SeasonCoverageCi(ExportableSeasonCoverageCi exportable)
  • Method Details

    • getSeasonId

      public Urn getSeasonId()
      Returns the identifier of the season
      Returns:
      - the identifier of the season
    • getMaxCoverageLevel

      public String getMaxCoverageLevel()
      Returns the String representation of the maximum coverage available for the season associated with the current instance
      Returns:
      - the String representation of the maximum coverage available for the season associated with the current instance
    • getMinCoverageLevel

      public String getMinCoverageLevel()
      Returns the String representation of the minimum coverage guaranteed for the season associated with the current instance
      Returns:
      - the String representation of the minimum coverage guaranteed for the season associated with the current instance
    • getMaxCovered

      public Integer getMaxCovered()
      Returns the max covered value
      Returns:
      - the max covered value if available; otherwise null
    • getPlayed

      public int getPlayed()
      Returns the played value
      Returns:
      - the played value
    • getScheduled

      public int getScheduled()
      Returns the scheduled value
      Returns:
      - the scheduled value
    • export

      public ExportableSeasonCoverageCi export()