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

public class CoverageInfoCi extends Object
A coverage info representation used by caching components
  • Constructor Details

    • CoverageInfoCi

      public CoverageInfoCi(com.sportradar.uf.sportsapi.datamodel.SapiCoverageInfo coverageInfo)
      Initializes a new instance of the SapiCoverageInfo class.
      Parameters:
      coverageInfo - - SapiCoverageInfo containing information about the competitor
    • CoverageInfoCi

      public CoverageInfoCi(ExportableCoverageInfoCi coverageInfo)
  • Method Details

    • merge

      public void merge(com.sportradar.uf.sportsapi.datamodel.SapiCoverageInfo coverageInfo)
      Merges the information from the provided SapiCoverageInfo into the current instance
      Parameters:
      coverageInfo - - SapiCoverageInfo containing information about the competitor
    • getLevel

      public String getLevel()
      Returns the level of the coverage scope
      Returns:
      - the level of the coverage scope
    • isLive

      public boolean isLive()
      Status of the coverage
      Returns:
      - the status of the coverage
    • getIncludes

      public List<String> getIncludes()
      Returns the includes of the coverage who's content can't be changed
      Returns:
      - the includes of the coverage who's content can't be changed
    • getCoveredFrom

      public CoveredFrom getCoveredFrom()
      Returns coverage location
      Returns:
      - coverage location
    • export

      public ExportableCoverageInfoCi export()