diff --git a/Nhl.Api.Common/Nhl.Api.Common.csproj b/Nhl.Api.Common/Nhl.Api.Common.csproj index 9d6a778..a6880c2 100644 --- a/Nhl.Api.Common/Nhl.Api.Common.csproj +++ b/Nhl.Api.Common/Nhl.Api.Common.csproj @@ -1,7 +1,7 @@ - 3.6.0 + 3.6.1 net8.0 true enable diff --git a/Nhl.Api.Domain/Models/Statistics/PlayerRealtimeStatisticsFilterResult.cs b/Nhl.Api.Domain/Models/Statistics/PlayerRealtimeStatisticsFilterResult.cs index eac58c6..3ddab3a 100644 --- a/Nhl.Api.Domain/Models/Statistics/PlayerRealtimeStatisticsFilterResult.cs +++ b/Nhl.Api.Domain/Models/Statistics/PlayerRealtimeStatisticsFilterResult.cs @@ -90,7 +90,7 @@ public class PlayerRealtimeStatisticsResult /// Hits per 60 minutes. /// [JsonProperty("hitsPer60")] - public double HitsPer60 { get; set; } + public double? HitsPer60 { get; set; } /// /// Player's last name. @@ -186,7 +186,7 @@ public class PlayerRealtimeStatisticsResult /// Takeaways per 60 minutes. /// [JsonProperty("takeawaysPer60")] - public double TakeawaysPer60 { get; set; } + public double? TakeawaysPer60 { get; set; } /// /// Team abbreviation. diff --git a/Nhl.Api.Domain/Models/Statistics/PlayerStatisticsFilterResult.cs b/Nhl.Api.Domain/Models/Statistics/PlayerStatisticsFilterResult.cs index 52d8476..d9ad23c 100644 --- a/Nhl.Api.Domain/Models/Statistics/PlayerStatisticsFilterResult.cs +++ b/Nhl.Api.Domain/Models/Statistics/PlayerStatisticsFilterResult.cs @@ -59,21 +59,21 @@ public class PlayerStatisticsResult /// Example: 2 /// [JsonProperty("gameWinningGoals")] - public int GameWinningGoals { get; set; } + public int? GameWinningGoals { get; set; } /// /// The NHL player games played
/// Example: 78 ///
[JsonProperty("gamesPlayed")] - public int GamesPlayed { get; set; } + public int? GamesPlayed { get; set; } /// /// The NHL player goals
/// Example: 10 ///
[JsonProperty("goals")] - public int Goals { get; set; } + public int? Goals { get; set; } /// /// The NHL player last name
@@ -87,14 +87,14 @@ public class PlayerStatisticsResult /// Example: 1 ///
[JsonProperty("otGoals")] - public int OvertimeGoals { get; set; } + public int? OvertimeGoals { get; set; } /// /// The NHL player penalty minutes
/// Example: 20 ///
[JsonProperty("penaltyMinutes")] - public int PenaltyMinutes { get; set; } + public int? PenaltyMinutes { get; set; } /// /// The NHL player player identifier
@@ -115,14 +115,14 @@ public class PlayerStatisticsResult /// Example: 20 ///
[JsonProperty("points")] - public int Points { get; set; } + public int? Points { get; set; } /// /// The NHL player points per game
/// Example: 0.356732 ///
[JsonProperty("pointsPerGame")] - public decimal PointsPerGame { get; set; } + public decimal? PointsPerGame { get; set; } /// /// The NHL player position code
diff --git a/Nhl.Api.Domain/Models/Statistics/PlayerTimeOnIceStatisticsFilterResult.cs b/Nhl.Api.Domain/Models/Statistics/PlayerTimeOnIceStatisticsFilterResult.cs index 06c5ccf..021c2fa 100644 --- a/Nhl.Api.Domain/Models/Statistics/PlayerTimeOnIceStatisticsFilterResult.cs +++ b/Nhl.Api.Domain/Models/Statistics/PlayerTimeOnIceStatisticsFilterResult.cs @@ -30,13 +30,13 @@ public class PlayerTimeOnIceStatisticsResult /// Even strength time on ice in seconds. ///
[JsonProperty("evTimeOnIce")] - public int EvTimeOnIce { get; set; } + public int? EvTimeOnIce { get; set; } /// /// Even strength time on ice per game in seconds. /// [JsonProperty("evTimeOnIcePerGame")] - public double EvTimeOnIcePerGame { get; set; } + public double? EvTimeOnIcePerGame { get; set; } /// /// Number of games played. @@ -54,13 +54,13 @@ public class PlayerTimeOnIceStatisticsResult /// Overtime time on ice in seconds. /// [JsonProperty("otTimeOnIce")] - public int OtTimeOnIce { get; set; } + public int? OtTimeOnIce { get; set; } /// /// Overtime time on ice per overtime game in seconds. /// [JsonProperty("otTimeOnIcePerOtGame")] - public double OtTimeOnIcePerOtGame { get; set; } + public double? OtTimeOnIcePerOtGame { get; set; } /// /// Player's ID. @@ -78,13 +78,13 @@ public class PlayerTimeOnIceStatisticsResult /// Power play time on ice in seconds. /// [JsonProperty("ppTimeOnIce")] - public int PpTimeOnIce { get; set; } + public int? PpTimeOnIce { get; set; } /// /// Power play time on ice per game in seconds. /// [JsonProperty("ppTimeOnIcePerGame")] - public double PpTimeOnIcePerGame { get; set; } + public double? PpTimeOnIcePerGame { get; set; } /// /// Season ID. @@ -96,13 +96,13 @@ public class PlayerTimeOnIceStatisticsResult /// Short-handed time on ice in seconds. /// [JsonProperty("shTimeOnIce")] - public int ShTimeOnIce { get; set; } + public int? ShTimeOnIce { get; set; } /// /// Short-handed time on ice per game in seconds. /// [JsonProperty("shTimeOnIcePerGame")] - public double ShTimeOnIcePerGame { get; set; } + public double? ShTimeOnIcePerGame { get; set; } /// /// Number of shifts. @@ -138,7 +138,7 @@ public class PlayerTimeOnIceStatisticsResult /// Total time on ice in seconds. /// [JsonProperty("timeOnIce")] - public int TimeOnIce { get; set; } + public int? TimeOnIce { get; set; } /// /// Time on ice per game in seconds. diff --git a/Nhl.Api.Domain/Nhl.Api.Domain.csproj b/Nhl.Api.Domain/Nhl.Api.Domain.csproj index 4259904..73214b8 100644 --- a/Nhl.Api.Domain/Nhl.Api.Domain.csproj +++ b/Nhl.Api.Domain/Nhl.Api.Domain.csproj @@ -1,7 +1,7 @@ - 3.6.0 + 3.6.1 net8.0 true enable diff --git a/Nhl.Api.Tests/Nhl.Api.Tests.csproj b/Nhl.Api.Tests/Nhl.Api.Tests.csproj index 1d79a8d..2cac84f 100644 --- a/Nhl.Api.Tests/Nhl.Api.Tests.csproj +++ b/Nhl.Api.Tests/Nhl.Api.Tests.csproj @@ -1,7 +1,7 @@ - + - 3.6.0 + 3.6.1 net8.0 false true diff --git a/Nhl.Api/Nhl.Api.csproj b/Nhl.Api/Nhl.Api.csproj index 94a6ba3..5a85faa 100644 --- a/Nhl.Api/Nhl.Api.csproj +++ b/Nhl.Api/Nhl.Api.csproj @@ -1,7 +1,7 @@ - 3.6.0 + 3.6.1 net8.0 Nhl.Api Nhl.Api