Table of Contents

Interface ISportEvent

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

Defines a contract implemented by classes representing the target(tournament, match, race) of feed messages

public interface ISportEvent

Properties

Id

Gets a Urn uniquely identifying the sport event associated with the current instance

Urn Id { get; }

Property Value

Urn

Methods

GetNameAsync(CultureInfo)

Asynchronously gets the name of the sport event

Task<string> GetNameAsync(CultureInfo culture)

Parameters

culture CultureInfo

A CultureInfo specifying the language of the returned name

Returns

Task<string>

Return a name of the race, or match

GetReplacedByAsync()

Asynchronously gets a Urn specifying the replacement sport event for the associated sport event.

Task<Urn> GetReplacedByAsync()

Returns

Task<Urn>

A Urn specifying the replacement sport event for the associated sport event.

GetScheduledEndTimeAsync()

Asynchronously gets a DateTime instance specifying for when the sport event associated with the current instance is scheduled to end or a null reference if the value is not known

Task<DateTime?> GetScheduledEndTimeAsync()

Returns

Task<DateTime?>

A Task<TResult> representing the retrieval operation

GetScheduledTimeAsync()

Asynchronously gets a DateTime instance specifying for when the sport event associated with the current instance is scheduled or a null reference if the value is not known

Task<DateTime?> GetScheduledTimeAsync()

Returns

Task<DateTime?>

A Task<TResult> representing the retrieval operation

GetSportIdAsync()

Asynchronously gets a Urn uniquely identifying the sport associated with the current instance

Task<Urn> GetSportIdAsync()

Returns

Task<Urn>

Returns a Urn uniquely identifying the sport associated with the current instance

GetStartTimeTbdAsync()

Asynchronously gets a value specifying if the start time to be determined is set for the associated sport event.

Task<bool?> GetStartTimeTbdAsync()

Returns

Task<bool?>

A value specifying if the start time to be determined is set for the associated sport event.