Class MemberLicense
Detail about one of the licenses held by the member.
Inherited Members
Namespace: Aydsko.iRacingData.Member
Assembly: Aydsko.iRacingData.dll
Syntax
public class MemberLicense
Properties
Category
License category text identifier.
Declaration
[JsonPropertyName("category")]
public string Category { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
CategoryId
Unique identifier for the license category.
Declaration
[JsonPropertyName("category_id")]
public int CategoryId { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
CategoryName
License group name suitable for display.
Declaration
[JsonPropertyName("category_name")]
public string CategoryName { get; set; }
Property Value
Type | Description |
---|---|
string |
See Also
Color
Color code for the license category.
Declaration
[JsonPropertyName("color")]
public string Color { get; set; }
Property Value
Type | Description |
---|---|
string |
Remarks
This is an HTML color code.
CornersPerIncident
Current number of corners per incident point.
Declaration
[JsonPropertyName("cpi")]
public float CornersPerIncident { get; set; }
Property Value
Type | Description |
---|---|
float |
GroupId
Unique identifier for the license group.
Declaration
[JsonPropertyName("group_id")]
public int GroupId { get; set; }
Property Value
Type | Description |
---|---|
int |
GroupName
License group name suitable for display.
Declaration
[JsonPropertyName("group_name")]
public string GroupName { get; set; }
Property Value
Type | Description |
---|---|
string |
IRating
Current iRating value.
Declaration
[JsonPropertyName("irating")]
public int IRating { get; set; }
Property Value
Type | Description |
---|---|
int |
LicenseLevel
Level within the license system.
Declaration
[JsonPropertyName("license_level")]
public int LicenseLevel { get; set; }
Property Value
Type | Description |
---|---|
int |
See Also
MinimumParticipationRequirementNumberOfRaces
Number of races completed towards the Minimum Participation Requirement (MPR) for license promotion.
Declaration
[JsonPropertyName("mpr_num_races")]
public int MinimumParticipationRequirementNumberOfRaces { get; set; }
Property Value
Type | Description |
---|---|
int |
MinimumParticipationRequirementNumberOfTimeTrials
The number of time trials completed towards the Minimum Participation Requirement (MPR) for license promotion.
Declaration
[JsonPropertyName("mpr_num_tts")]
public int MinimumParticipationRequirementNumberOfTimeTrials { get; set; }
Property Value
Type | Description |
---|---|
int |
ProPromotable
Declaration
[JsonIgnore]
[Obsolete("Use \"Promotable\" instead.")]
public bool ProPromotable { get; set; }
Property Value
Type | Description |
---|---|
bool |
Promotable
Indicates if this license is suitable for promotion.
Declaration
[JsonPropertyName("pro_promotable")]
public bool Promotable { get; set; }
Property Value
Type | Description |
---|---|
bool |
SafetyRating
Current Safety Rating value.
Declaration
[JsonPropertyName("safety_rating")]
public float SafetyRating { get; set; }
Property Value
Type | Description |
---|---|
float |
Sequence
Display sequence, should match the order shown in iRacing.
Declaration
[JsonPropertyName("seq")]
public int Sequence { get; set; }
Property Value
Type | Description |
---|---|
int |
TimeTrialRating
Current Time Trial Rating value.
Declaration
[JsonPropertyName("tt_rating")]
public int TimeTrialRating { get; set; }
Property Value
Type | Description |
---|---|
int |