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

public class ReferenceIdCi extends Object
The reference id representation used by caching components
  • Constructor Details

    • ReferenceIdCi

      public ReferenceIdCi(Map<String,String> newReferenceIds)
      Initializes a new instance of the ReferenceIdCi class
      Parameters:
      newReferenceIds - - A Map with the available references
  • Method Details

    • merge

      public void merge(Map<String,String> newReferenceIds)
    • getBetradarId

      public Integer getBetradarId()
      Returns the referenceId for Betradar if available, null otherwise.
      Returns:
      - the referenceId for Betradar if available, null otherwise.
    • getBetfairId

      public Integer getBetfairId()
      Returns the referenceId for Betfair if available, null otherwise.
      Returns:
      - the referenceId for Betfair if available, null otherwise.
    • getRotationNumber

      public Integer getRotationNumber()
      Returns the rotation number for this instance if provided amount reference ids, null otherwise
      Returns:
      - the rotation number for this instance if provided amount reference ids, null otherwise
    • getAamsId

      public Integer getAamsId()
      Returns the AAMS id for this instance if provided amount reference ids, null otherwise
      Returns:
      - the AAMS id for this instance if provided amount reference ids, null otherwise
    • getLugasId

      public String getLugasId()
      Returns the Lugas id for this instance if provided amount reference ids, null otherwise
      Returns:
      - the Lugas id for this instance if provided amount reference ids, null otherwise
    • getReferenceIds

      public Map<String,String> getReferenceIds()
      Returns a Map of referenceIds who's content can't be changed
      Returns:
      - a Map of referenceIds who's content can't be changed
      See Also:
      • ImmutableMap