Class EventListSummary
Represents a summary of an event for display in event listings.
Inherited Members
Namespace: RedMist.TimingCommon.Models
Assembly: RedMist.TimingCommon.dll
Syntax
[MessagePackObject(false)]
public class EventListSummary
Constructors
View SourceEventListSummary()
Declaration
public EventListSummary()
Properties
View SourceEventDate
Gets or sets the date of the event as a formatted string. Maximum length: 80 characters.
Declaration
[JsonPropertyName("ed")]
[Key(4)]
[MaxLength(80)]
public string EventDate { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventName
Gets or sets the name of the event. Maximum length: 512 characters.
Declaration
[JsonPropertyName("en")]
[Key(3)]
[MaxLength(512)]
public string EventName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HasResults
Whether there are available session results for this event. This is used to determine whether to show a "Results" button in the UI.
Declaration
[Key(10)]
[JsonPropertyName("hasResults")]
public bool HasResults { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Id
Gets or sets the unique identifier for this event.
Declaration
[JsonPropertyName("eid")]
[Key(0)]
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IsArchived
Gets or sets a value indicating whether this session is historical or archived.
Declaration
[Key(9)]
[JsonPropertyName("arch")]
public bool IsArchived { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsLive
Gets or sets a value indicating whether this event is currently live.
Declaration
[JsonPropertyName("l")]
[Key(5)]
public bool IsLive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
IsSimulation
Indicates whether this is a real event or a simulation/replay/test event.
Declaration
[Key(8)]
[JsonPropertyName("sim")]
public bool IsSimulation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
OrganizationId
Gets or sets the identifier of the organization hosting this event.
Declaration
[JsonPropertyName("oid")]
[Key(1)]
public int OrganizationId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
OrganizationName
Gets or sets the name of the organization hosting this event. Maximum length: 255 characters.
Declaration
[JsonPropertyName("on")]
[Key(2)]
[MaxLength(255)]
public string OrganizationName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Schedule
Gets or sets the schedule for this event, or null if no schedule is available.
Declaration
[JsonPropertyName("s")]
[Key(7)]
public EventSchedule? Schedule { get; set; }
Property Value
| Type | Description |
|---|---|
| EventSchedule |
TrackName
Gets or sets the name of the track where this event is held. Maximum length: 128 characters.
Declaration
[JsonPropertyName("t")]
[Key(6)]
[MaxLength(128)]
public string TrackName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |