Class SessionStatePatch
Patch variant of SessionState with nullable properties for partial updates. Generated automatically by PatchClassGenerator.
Inherited Members
Namespace: RedMist.TimingCommon.Models
Assembly: RedMist.TimingCommon.dll
Syntax
[MessagePackObject(false)]
public class SessionStatePatch
Constructors
View SourceSessionStatePatch()
Declaration
public SessionStatePatch()
Properties
View SourceAnnouncements
Patch field for Announcements. Null indicates no change.
Declaration
[Key(27)]
[MaxLength(500)]
public List<Announcement>? Announcements { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Announcement> |
AverageRaceSpeed
Patch field for AverageRaceSpeed. Null indicates no change.
Declaration
[Key(23)]
[MaxLength(11)]
public string? AverageRaceSpeed { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CarPositions
Patch field for CarPositions. Null indicates no change.
Declaration
[Key(14)]
[MaxLength(500)]
public List<CarPosition>? CarPositions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CarPosition> |
ClassColors
Patch field for ClassColors. Null indicates no change.
Declaration
[Key(26)]
[MaxLength(50)]
public Dictionary<string, string>? ClassColors { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
ClassOrder
Patch field for ClassOrder. Null indicates no change.
Declaration
[Key(29)]
[MaxLength(50)]
public Dictionary<string, string>? ClassOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
CurrentFlag
Patch field for CurrentFlag. Null indicates no change.
Declaration
[Key(15)]
public Flags? CurrentFlag { get; set; }
Property Value
| Type | Description |
|---|---|
| Flags? |
EventEntries
Patch field for EventEntries. Null indicates no change.
Declaration
[Key(13)]
[MaxLength(500)]
public List<EventEntry>? EventEntries { get; set; }
Property Value
| Type | Description |
|---|---|
| List<EventEntry> |
EventId
Patch field for EventId. Null indicates no change.
Declaration
[Key(0)]
public int? EventId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
EventName
Patch field for EventName. Null indicates no change.
Declaration
[Key(1)]
[MaxLength(512)]
public string? EventName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FlagDurations
Patch field for FlagDurations. Null indicates no change.
Declaration
[Key(16)]
[MaxLength(100)]
public List<FlagDuration>? FlagDurations { get; set; }
Property Value
| Type | Description |
|---|---|
| List<FlagDuration> |
GreenLaps
Patch field for GreenLaps. Null indicates no change.
Declaration
[Key(18)]
public int? GreenLaps { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
GreenTimeMs
Patch field for GreenTimeMs. Null indicates no change.
Declaration
[Key(17)]
public int? GreenTimeMs { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
IsArchived
Patch field for IsArchived. Null indicates no change.
Declaration
[Key(31)]
public bool? IsArchived { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
IsLive
Patch field for IsLive. Null indicates no change.
Declaration
[Key(12)]
public bool? IsLive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
IsPracticeQualifying
Patch field for IsPracticeQualifying. Null indicates no change.
Declaration
[Key(8)]
public bool? IsPracticeQualifying { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
IsSimulation
Patch field for IsSimulation. Null indicates no change.
Declaration
[Key(30)]
public bool? IsSimulation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
LapsToGo
Patch field for LapsToGo. Null indicates no change.
Declaration
[Key(4)]
public int? LapsToGo { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
LastUpdated
Patch field for LastUpdated. Null indicates no change.
Declaration
[Key(28)]
public DateTime? LastUpdated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
LeadChanges
Patch field for LeadChanges. Null indicates no change.
Declaration
[Key(24)]
public int? LeadChanges { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
LocalTimeOfDay
Patch field for LocalTimeOfDay. Null indicates no change.
Declaration
[Key(6)]
[MaxLength(8)]
public string? LocalTimeOfDay { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
LocalTimeZoneOffset
Patch field for LocalTimeZoneOffset. Null indicates no change.
Declaration
[Key(11)]
public double? LocalTimeZoneOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
NumberOfYellows
Patch field for NumberOfYellows. Null indicates no change.
Declaration
[Key(21)]
public int? NumberOfYellows { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
RedTimeMs
Patch field for RedTimeMs. Null indicates no change.
Declaration
[Key(22)]
public int? RedTimeMs { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
RunningRaceTime
Patch field for RunningRaceTime. Null indicates no change.
Declaration
[Key(7)]
[MaxLength(8)]
public string? RunningRaceTime { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Sections
Patch field for Sections. Null indicates no change.
Declaration
[Key(25)]
[MaxLength(5)]
public List<Section>? Sections { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Section> |
SessionEndTime
Patch field for SessionEndTime. Null indicates no change.
Declaration
[Key(10)]
public DateTime? SessionEndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
SessionId
Patch field for SessionId. Null indicates no change.
Declaration
[Key(2)]
public int? SessionId { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
SessionName
Patch field for SessionName. Null indicates no change.
Declaration
[Key(3)]
[MaxLength(40)]
public string? SessionName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SessionStartTime
Patch field for SessionStartTime. Null indicates no change.
Declaration
[Key(9)]
public DateTime? SessionStartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
TimeToGo
Patch field for TimeToGo. Null indicates no change.
Declaration
[Key(5)]
[MaxLength(10)]
public string? TimeToGo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TrackPrecipitationPerc
Patch field for TrackPrecipitationPerc. Null indicates no change.
Declaration
[Key(33)]
public int? TrackPrecipitationPerc { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
TrackTempDegF
Patch field for TrackTempDegF. Null indicates no change.
Declaration
[Key(32)]
public int? TrackTempDegF { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
YellowLaps
Patch field for YellowLaps. Null indicates no change.
Declaration
[Key(20)]
public int? YellowLaps { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
YellowTimeMs
Patch field for YellowTimeMs. Null indicates no change.
Declaration
[Key(19)]
public int? YellowTimeMs { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |