Click or drag to resize

OddsEntityBase Class

Serves as a base class that all LiveOdds entities should be derived from.
Inheritance Hierarchy
SystemObject
  Sportradar.SDK.CommonEntityBase
    Sportradar.SDK.FeedProviders.LiveOdds.CommonOddsEntityBase
      More

Namespace: Sportradar.SDK.FeedProviders.LiveOdds.Common
Assembly: LiveOddsFeedProvider (in LiveOddsFeedProvider.dll) Version: 2.28.0.0
Syntax
C#
[SerializableAttribute]
public abstract class OddsEntityBase : EntityBase

The OddsEntityBase type exposes the following members.

Properties
 NameDescription
Public propertyAdditionalData Contains any additional XML attributes found while parsing XML feed messages that are not supported with the current version of the data contracts. These are represented as an XML attribute name-value tuples.
(Inherited from EntityBase)
Public propertyIsOutOfBand Is the message out-of-band by purpose i.e., explicitly requested by user? True when yes; false else (usually).
Public propertyMessages Additional textual information attached to the message.
Public propertyMsgnr To make sure that client system receives all messages from the Betradar system, all messages sent out have an incremental id. It starts with 1 for every event. Only messages that change the state of a event include this attribute. Alive, meta-information and login response messages do not include it.
Public propertyReplyNr Reply number matching the request number, thus enabling us to pair request and response messages properly.
Public propertyReplyType Message reply type (e.g. Current, Error, Register)
Public propertyServerType Live odds feed server type (e.g. LiveOdds, BetPal, ...)
Public propertyServerVersion XML feeds server version
Public propertyStatus Live Odds status specifying the actual message type (e.g. current, clearbet, change, score, cards, etc.)
Public propertyTime Time in seconds. For "betstart", "betstop", "betclear" it tells when the situation occurred in seconds before Timestamp. Also used to indicate time for the original bet clearing in case of "betrollback".
Public propertyTimestamp Time from server in UTC.
Public propertyVirtualGameId Virtual game id.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToString Returns a string that represents the current object.
(Overrides EntityBaseToString)
Top
See Also
Inheritance Hierarchy