Aydsko iRacing Data API
Show / Hide Table of Contents

Class SubSessionResult

Inheritance
object
SubSessionResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Aydsko.iRacingData.Results
Assembly: Aydsko.iRacingData.dll
Syntax
public class SubSessionResult

Fields

LogoPathBase

Declaration
public const string LogoPathBase = "https://images-static.iracing.com/img/logos/series/"
Field Value
Type Description
string

Properties

AllowedLicenses

Declaration
[JsonPropertyName("allowed_licenses")]
public AllowedLicenses[] AllowedLicenses { get; set; }
Property Value
Type Description
AllowedLicenses[]

AssociatedSubSessionIds

Declaration
[JsonPropertyName("associated_subsession_ids")]
public int[] AssociatedSubSessionIds { get; set; }
Property Value
Type Description
int[]

CanProtest

Declaration
[JsonPropertyName("can_protest")]
public bool CanProtest { get; set; }
Property Value
Type Description
bool

CarClasses

Declaration
[JsonPropertyName("car_classes")]
public ResultsCarClasses[] CarClasses { get; set; }
Property Value
Type Description
ResultsCarClasses[]

CautionType

Declaration
[JsonPropertyName("caution_type")]
public int CautionType { get; set; }
Property Value
Type Description
int

CooldownMinutes

Declaration
[JsonPropertyName("cooldown_minutes")]
public int CooldownMinutes { get; set; }
Property Value
Type Description
int

CornersPerLap

Declaration
[JsonPropertyName("corners_per_lap")]
public int CornersPerLap { get; set; }
Property Value
Type Description
int

DamageModel

Declaration
[JsonPropertyName("damage_model")]
public int DamageModel { get; set; }
Property Value
Type Description
int

DriverChangeParam1

Declaration
[JsonPropertyName("driver_change_param1")]
public int DriverChangeParam1 { get; set; }
Property Value
Type Description
int

DriverChangeParam2

Declaration
[JsonPropertyName("driver_change_param2")]
public int DriverChangeParam2 { get; set; }
Property Value
Type Description
int

DriverChangeRule

Declaration
[JsonPropertyName("driver_change_rule")]
public int DriverChangeRule { get; set; }
Property Value
Type Description
int

DriverChanges

Declaration
[JsonPropertyName("driver_changes")]
public bool DriverChanges { get; set; }
Property Value
Type Description
bool

EndTime

Declaration
[JsonPropertyName("end_time")]
public DateTimeOffset EndTime { get; set; }
Property Value
Type Description
DateTimeOffset

EventAverageLap

Declaration
[JsonPropertyName("event_average_lap")]
[JsonConverter(typeof(TenThousandthSecondDurationNotNullConverter))]
public TimeSpan EventAverageLap { get; set; }
Property Value
Type Description
TimeSpan

EventBestLapTime

Declaration
[JsonPropertyName("event_best_lap_time")]
[JsonConverter(typeof(TenThousandthSecondDurationNotNullConverter))]
public TimeSpan EventBestLapTime { get; set; }
Property Value
Type Description
TimeSpan

EventLapsComplete

Declaration
[JsonPropertyName("event_laps_complete")]
public int EventLapsComplete { get; set; }
Property Value
Type Description
int

EventStrengthOfField

Declaration
[JsonPropertyName("event_strength_of_field")]
public int EventStrengthOfField { get; set; }
Property Value
Type Description
int

EventType

Declaration
[JsonPropertyName("event_type")]
public EventType EventType { get; set; }
Property Value
Type Description
EventType

EventTypeName

Declaration
[JsonPropertyName("event_type_name")]
public string EventTypeName { get; set; }
Property Value
Type Description
string

HeatInfoId

Declaration
[JsonPropertyName("heat_info_id")]
public int HeatInfoId { get; set; }
Property Value
Type Description
int

HostId

Declaration
[JsonPropertyName("host_id")]
public int HostId { get; set; }
Property Value
Type Description
int

LeagueId

Declaration
[JsonPropertyName("league_id")]
public int? LeagueId { get; set; }
Property Value
Type Description
int?

LeagueName

Declaration
[JsonPropertyName("league_name")]
public string? LeagueName { get; set; }
Property Value
Type Description
string

LeagueSeasonId

Declaration
[JsonPropertyName("league_season_id")]
public int? LeagueSeasonId { get; set; }
Property Value
Type Description
int?

LeagueSeasonName

Declaration
[JsonPropertyName("league_season_name")]
public string? LeagueSeasonName { get; set; }
Property Value
Type Description
string

LicenseCategory

Declaration
[JsonPropertyName("license_category")]
public string LicenseCategory { get; set; }
Property Value
Type Description
string

LicenseCategoryId

Declaration
[JsonPropertyName("license_category_id")]
public int LicenseCategoryId { get; set; }
Property Value
Type Description
int

LimitMinutes

Declaration
[JsonPropertyName("limit_minutes")]
public int LimitMinutes { get; set; }
Property Value
Type Description
int

MaxTeamDrivers

Declaration
[JsonPropertyName("max_team_drivers")]
public int MaxTeamDrivers { get; set; }
Property Value
Type Description
int

MaxWeeks

Declaration
[JsonPropertyName("max_weeks")]
public int MaxWeeks { get; set; }
Property Value
Type Description
int

MinTeamDrivers

Declaration
[JsonPropertyName("min_team_drivers")]
public int MinTeamDrivers { get; set; }
Property Value
Type Description
int

NumberOfCautionLaps

Declaration
[JsonPropertyName("num_caution_laps")]
public int NumberOfCautionLaps { get; set; }
Property Value
Type Description
int

NumberOfCautions

Declaration
[JsonPropertyName("num_cautions")]
public int NumberOfCautions { get; set; }
Property Value
Type Description
int

NumberOfDrivers

Declaration
[JsonPropertyName("num_drivers")]
public int NumberOfDrivers { get; set; }
Property Value
Type Description
int

NumberOfLapsForQualifyingAverage

Declaration
[JsonPropertyName("num_laps_for_qual_average")]
public int NumberOfLapsForQualifyingAverage { get; set; }
Property Value
Type Description
int

NumberOfLapsForSoloAverage

Declaration
[JsonPropertyName("num_laps_for_solo_average")]
public int NumberOfLapsForSoloAverage { get; set; }
Property Value
Type Description
int

NumberOfLeadChanges

Declaration
[JsonPropertyName("num_lead_changes")]
public int NumberOfLeadChanges { get; set; }
Property Value
Type Description
int

OfficialSession

Declaration
[JsonPropertyName("official_session")]
public bool OfficialSession { get; set; }
Property Value
Type Description
bool

PointsType

Declaration
[JsonPropertyName("points_type")]
public string PointsType { get; set; }
Property Value
Type Description
string

PrivateSessionId

Declaration
[JsonPropertyName("private_session_id")]
public int PrivateSessionId { get; set; }
Property Value
Type Description
int

RaceSummary

Declaration
[JsonPropertyName("race_summary")]
public RaceSummary RaceSummary { get; set; }
Property Value
Type Description
RaceSummary

RaceWeekIndex

An index number identifying the race week.

Declaration
[JsonPropertyName("race_week_num")]
public int RaceWeekIndex { get; set; }
Property Value
Type Description
int
Remarks

The iRacing Data API works with zero-based race weeks, most people will use one-based.

See Also
RaceWeekNumber

RaceWeekNumber

The number of the race week within the season.

Declaration
[JsonIgnore]
public int RaceWeekNumber { get; }
Property Value
Type Description
int

ResultsRestricted

Declaration
[JsonPropertyName("results_restricted")]
public bool ResultsRestricted { get; set; }
Property Value
Type Description
bool

SeasonId

Declaration
[JsonPropertyName("season_id")]
public int SeasonId { get; set; }
Property Value
Type Description
int

SeasonName

Declaration
[JsonPropertyName("season_name")]
public string SeasonName { get; set; }
Property Value
Type Description
string

SeasonQuarter

Declaration
[JsonPropertyName("season_quarter")]
public int SeasonQuarter { get; set; }
Property Value
Type Description
int

SeasonShortName

Declaration
[JsonPropertyName("season_short_name")]
public string SeasonShortName { get; set; }
Property Value
Type Description
string

SeasonYear

Declaration
[JsonPropertyName("season_year")]
public int SeasonYear { get; set; }
Property Value
Type Description
int

SeriesId

Declaration
[JsonPropertyName("series_id")]
public int SeriesId { get; set; }
Property Value
Type Description
int

SeriesLogo

Declaration
[JsonPropertyName("series_logo")]
public string SeriesLogo { get; set; }
Property Value
Type Description
string

SeriesName

Declaration
[JsonPropertyName("series_name")]
public string SeriesName { get; set; }
Property Value
Type Description
string

SeriesShortName

Declaration
[JsonPropertyName("series_short_name")]
public string SeriesShortName { get; set; }
Property Value
Type Description
string

SessionId

Declaration
[JsonPropertyName("session_id")]
public int SessionId { get; set; }
Property Value
Type Description
int

SessionName

Declaration
[JsonPropertyName("session_name")]
public string SessionName { get; set; }
Property Value
Type Description
string

SessionResults

Declaration
[JsonPropertyName("session_results")]
public SessionResults[] SessionResults { get; set; }
Property Value
Type Description
SessionResults[]

SessionSplits

Declaration
[JsonPropertyName("session_splits")]
public SessionSplit[] SessionSplits { get; set; }
Property Value
Type Description
SessionSplit[]

SpecialEventType

Declaration
[JsonPropertyName("special_event_type")]
public int SpecialEventType { get; set; }
Property Value
Type Description
int

StartTime

Declaration
[JsonPropertyName("start_time")]
public DateTimeOffset StartTime { get; set; }
Property Value
Type Description
DateTimeOffset

SubSessionId

Declaration
[JsonPropertyName("subsession_id")]
public int SubSessionId { get; set; }
Property Value
Type Description
int

Track

Declaration
[JsonPropertyName("track")]
public Track Track { get; set; }
Property Value
Type Description
Track

TrackState

Declaration
[JsonPropertyName("track_state")]
public TrackState TrackState { get; set; }
Property Value
Type Description
TrackState

Weather

Declaration
[JsonPropertyName("weather")]
public ResultsWeather Weather { get; set; }
Property Value
Type Description
ResultsWeather
In this article
Back to top Generated by DocFX