Table of Contents

Interface ITournament

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

Defines a contract implemented by classes providing information about tournament schedule

public interface ITournament : ILongTermEvent, ISportEvent
Inherited Members

Methods

GetCategoryAsync()

Asynchronously gets a ICategorySummary representing the category to which the tournament belongs to

Task<ICategorySummary> GetCategoryAsync()

Returns

Task<ICategorySummary>

A Task<TResult> representing the asynchronous operation

GetCurrentSeasonAsync()

Asynchronously gets ICurrentSeasonInfo instance containing detailed information about the current season of the tournament

Task<ICurrentSeasonInfo> GetCurrentSeasonAsync()

Returns

Task<ICurrentSeasonInfo>

A Task<TResult> representing the asynchronous operation

GetExhibitionGamesAsync()

Asynchronously gets a bool specifying if the tournament is exhibition game

Task<bool?> GetExhibitionGamesAsync()

Returns

Task<bool?>

A bool specifying if the tournament is exhibition game

GetScheduleAsync()

Gets the list of all ICompetition that belongs to the basic tournament schedule

Task<IEnumerable<ISportEvent>> GetScheduleAsync()

Returns

Task<IEnumerable<ISportEvent>>

The list of all ICompetition that belongs to the basic tournament schedule

GetSeasonsAsync()

Asynchronously gets a list of ISeason associated with this tournament

Task<IEnumerable<ISeason>> GetSeasonsAsync()

Returns

Task<IEnumerable<ISeason>>

A list of ISeason associated with this tournament