Aydsko iRacing Data API
Show / Hide Table of Contents

Class MemberLicense

Detail about one of the licenses held by the member.

Inheritance
object
MemberLicense
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
GetCategoriesAsync(CancellationToken)

CategoryId

Unique identifier for the license category.

Declaration
[JsonPropertyName("category_id")]
public int CategoryId { get; set; }
Property Value
Type Description
int
See Also
GetCategoriesAsync(CancellationToken)

CategoryName

License group name suitable for display.

Declaration
[JsonPropertyName("category_name")]
public string CategoryName { get; set; }
Property Value
Type Description
string
See Also
GetLicenseLookupsAsync(CancellationToken)

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
LicenseLevel
GetLicenseLookupsAsync(CancellationToken)

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
In this article
Back to top Generated by DocFX