Class HostedSearchParameters
Parameters for a hosted or league session search.
Inherited Members
Namespace: Aydsko.iRacingData.Searches
Assembly: Aydsko.iRacingData.dll
Syntax
public class HostedSearchParameters : SearchParameters
Remarks
Valid searches must be structured as follows:
- requires one of: StartRangeBegin, FinishRangeBegin
- requires one of: ParticipantCustomerId, HostCustomerId, SessionName
Properties
CarId
One of the cars used by the session.
Declaration
[JsonPropertyName("car_id")]
public int? CarId { get; set; }
Property Value
Type | Description |
---|---|
int? |
HostCustomerId
Customer ID of the host to search for in the sessions.
Declaration
[JsonPropertyName("host_cust_id")]
public int? HostCustomerId { get; set; }
Property Value
Type | Description |
---|---|
int? |
LeagueId
Include results for this league.
Declaration
[JsonPropertyName("league_id")]
public int? LeagueId { get; set; }
Property Value
Type | Description |
---|---|
int? |
LeagueSeasonId
Include results for the league season with this ID.
Declaration
[JsonPropertyName("league_season_id")]
public int? LeagueSeasonId { get; set; }
Property Value
Type | Description |
---|---|
int? |
SessionName
Part or all of the session's name.
Declaration
[JsonPropertyName("session_name")]
public string? SessionName { get; set; }
Property Value
Type | Description |
---|---|
string |
TrackId
ID of the track used by the session.
Declaration
[JsonPropertyName("track_id")]
public int? TrackId { get; set; }
Property Value
Type | Description |
---|---|
int? |