Skip to content

Commit

Permalink
Use appropriate types
Browse files Browse the repository at this point in the history
  • Loading branch information
edgiardina committed Sep 21, 2024
1 parent 8837e51 commit 53ead70
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions PinballApi/Models/WPPR/Universal/Rankings/Ranking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ namespace PinballApi.Models.WPPR.Universal.Rankings
public class Ranking : BaseRanking
{
[JsonPropertyName("wppr_points")]
public string WpprPoints { get; set; }
public double WpprPoints { get; set; }

[JsonPropertyName("total_wins_last_3_years")]
public string TotalWinsLast3Years { get; set; }
public int TotalWinsLast3Years { get; set; }

[JsonPropertyName("top_3_last_3_years")]
public string Top3Last3Years { get; set; }
public int Top3Last3Years { get; set; }

[JsonPropertyName("top_10_last_3_years")]
public string Top10Last3Years { get; set; }
public int Top10Last3Years { get; set; }

[JsonPropertyName("last_month_rank")]
public string LastMonthRank { get; set; }
public long LastMonthRank { get; set; }

[JsonPropertyName("rating_value")]
public string RatingValue { get; set; }
public double RatingValue { get; set; }

[JsonPropertyName("rating_deviation")]
public string RatingDeviation { get; set; }
public double RatingDeviation { get; set; }

[JsonPropertyName("event_count")]
public string EventCount { get; set; }
public int EventCount { get; set; }

[JsonPropertyName("best_finish")]
public string BestFinish { get; set; }
Expand Down

0 comments on commit 53ead70

Please sign in to comment.