Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing car_class_name & car_class_short_name #190

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Aydsko.iRacingData/Results/Result.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@

[JsonPropertyName("car_id")]
public int CarId { get; set; }

[JsonPropertyName("car_class_name")]
public string CarClassName { get; set; }

Check warning on line 189 in src/Aydsko.iRacingData/Results/Result.cs

View workflow job for this annotation

GitHub Actions / Build & Test / build

Non-nullable property 'CarClassName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 189 in src/Aydsko.iRacingData/Results/Result.cs

View workflow job for this annotation

GitHub Actions / Build & Test / build

Non-nullable property 'CarClassName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

[JsonPropertyName("car_class_short_name")]
public string CarClassShortName { get; set; }

Check warning on line 192 in src/Aydsko.iRacingData/Results/Result.cs

View workflow job for this annotation

GitHub Actions / Build & Test / build

Non-nullable property 'CarClassShortName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

Check warning on line 192 in src/Aydsko.iRacingData/Results/Result.cs

View workflow job for this annotation

GitHub Actions / Build & Test / build

Non-nullable property 'CarClassShortName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.

[JsonPropertyName("aggregate_champ_points")]
public int AggregateChampionshipPoints { get; set; }
Expand Down
Loading