Table of Contents

Interface ICompetitor

Namespace
Sportradar.OddsFeed.SDK.Entities.Rest
Assembly
Sportradar.OddsFeed.SDK.dll

Represents a team competing in a sport event

public interface ICompetitor : IPlayer, IEntityPrinter
Inherited Members

Properties

Abbreviations

Gets a IReadOnlyDictionary<TKey, TValue> containing competitor's abbreviations in different languages

[DataMember]
IReadOnlyDictionary<CultureInfo, string> Abbreviations { get; }

Property Value

IReadOnlyDictionary<CultureInfo, string>

AgeGroup

Gets the age group

string AgeGroup { get; }

Property Value

string

The age group

AssociatedPlayers

Gets the list of associated player ids

IEnumerable<IPlayer> AssociatedPlayers { get; }

Property Value

IEnumerable<IPlayer>

The associated player ids

Countries

Gets a IReadOnlyDictionary<TKey, TValue> containing competitor's country names in different languages

[DataMember]
IReadOnlyDictionary<CultureInfo, string> Countries { get; }

Property Value

IReadOnlyDictionary<CultureInfo, string>

CountryCode

Gets the country code

string CountryCode { get; }

Property Value

string

The country code

Division

Gets the division

IDivision Division { get; }

Property Value

IDivision

Gender

Gets the gender

string Gender { get; }

Property Value

string

The gender

IsVirtual

Gets a value indicating whether the current instance represents a placeholder team

[DataMember]
bool? IsVirtual { get; }

Property Value

bool?

Jerseys

Gets the jerseys of known competitors

IEnumerable<IJersey> Jerseys { get; }

Property Value

IEnumerable<IJersey>

The jerseys

Manager

Gets the manager

IManager Manager { get; }

Property Value

IManager

The manager

RaceDriverProfile

Gets the race driver profile

IRaceDriverProfile RaceDriverProfile { get; }

Property Value

IRaceDriverProfile

The race driver profile

References

Gets the reference ids

[DataMember]
IReference References { get; }

Property Value

IReference

ShortName

Gets the short name

string ShortName { get; }

Property Value

string

The short name

State

Gets the state

string State { get; }

Property Value

string

The state

Venue

Gets the venue

IVenue Venue { get; }

Property Value

IVenue

The venue

Methods

GetAbbreviation(CultureInfo)

Gets the competitor's abbreviation in the specified language or a null reference.

string GetAbbreviation(CultureInfo culture)

Parameters

culture CultureInfo

A CultureInfo specifying the language of the abbreviation.

Returns

string

The competitor's abbreviation in the specified language or a null reference.

GetCategoryAsync()

Gets associated category

Task<ICategorySummary> GetCategoryAsync()

Returns

Task<ICategorySummary>

The associated category

GetCountry(CultureInfo)

Gets the competitor's country name in the specified language or a null reference.

string GetCountry(CultureInfo culture)

Parameters

culture CultureInfo

A CultureInfo specifying the language of the country name.

Returns

string

The competitor's country name in the specified language or a null reference.

GetSportAsync()

Gets associated sport

Task<ISport> GetSportAsync()

Returns

Task<ISport>

The associated sport