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

public class GroupCi extends Object
A group representation used by caching components
  • Constructor Details

    • GroupCi

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

      public GroupCi(ExportableGroupCi exportable)
  • Method Details

    • merge

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

      public String getId()
      Returns the id of the group
      Returns:
      - the id of the group
    • getName

      public String getName()
      Returns the name of the group
      Returns:
      - the name of the group
    • getCompetitorIds

      public List<Urn> getCompetitorIds()
      Returns a List of competitor identifiers associated with this group
      Returns:
      - a List of competitor identifiers associated with this group
    • getCompetitorsReferences

      public Map<Urn,ReferenceIdCi> getCompetitorsReferences()
      Returns list of Urn of Competitor and associated Reference for this sport event
      Returns:
      list of Urn of Competitor and associated Reference for this sport event
    • export

      public ExportableGroupCi export()