Class ReferenceIdCi
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.ci.ReferenceIdCi
The reference id representation used by caching components
-
Constructor Summary
ConstructorsConstructorDescriptionReferenceIdCi(Map<String, String> newReferenceIds) Initializes a new instance of theReferenceIdCiclass -
Method Summary
Modifier and TypeMethodDescriptionReturns the AAMS id for this instance if provided amount reference ids, null otherwiseReturns the referenceId for Betfair if available, null otherwise.Returns the referenceId for Betradar if available, null otherwise.Returns the Lugas id for this instance if provided amount reference ids, null otherwiseReturns aMapof referenceIds who's content can't be changedReturns the rotation number for this instance if provided amount reference ids, null otherwisevoid
-
Constructor Details
-
ReferenceIdCi
Initializes a new instance of theReferenceIdCiclass- Parameters:
newReferenceIds- - AMapwith the available references
-
-
Method Details
-
merge
-
getBetradarId
Returns the referenceId for Betradar if available, null otherwise.- Returns:
- - the referenceId for Betradar if available, null otherwise.
-
getBetfairId
Returns the referenceId for Betfair if available, null otherwise.- Returns:
- - the referenceId for Betfair if available, null otherwise.
-
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
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
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
Returns aMapof referenceIds who's content can't be changed- Returns:
- - a
Mapof referenceIds who's content can't be changed - See Also:
-
ImmutableMap
-