diff --git a/SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs b/SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs index 56e4b0d..138fb75 100644 --- a/SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs +++ b/SeatsioDotNet.Test/ChartReports/ChartReportsTest.cs @@ -26,6 +26,7 @@ public void ReportItemProperties() Assert.Null(reportItem.LeftNeighbour); Assert.Equal("A-2", reportItem.RightNeighbour); Assert.Null(reportItem.BookAsAWhole); + Assert.NotNull(reportItem.DistanceToFocalPoint); } [Fact] diff --git a/SeatsioDotNet.Test/EventReports/EventReportsTest.cs b/SeatsioDotNet.Test/EventReports/EventReportsTest.cs index 982bec6..ff65132 100644 --- a/SeatsioDotNet.Test/EventReports/EventReportsTest.cs +++ b/SeatsioDotNet.Test/EventReports/EventReportsTest.cs @@ -54,6 +54,7 @@ public void ReportItemProperties() Assert.False(reportItem.IsDisabledBySocialDistancing); Assert.Equal("channelKey1", reportItem.Channel); Assert.Null(reportItem.BookAsAWhole); + Assert.NotNull(reportItem.DistanceToFocalPoint); } [Fact] diff --git a/SeatsioDotNet/ChartReports/ChartReportItem.cs b/SeatsioDotNet/ChartReports/ChartReportItem.cs index 6cea66d..09a8bc7 100644 --- a/SeatsioDotNet/ChartReports/ChartReportItem.cs +++ b/SeatsioDotNet/ChartReports/ChartReportItem.cs @@ -15,5 +15,6 @@ public class ChartReportItem public bool? BookAsAWhole { get; set; } public string LeftNeighbour { get; set; } public string RightNeighbour { get; set; } + public float? DistanceToFocalPoint { get; set; } } } diff --git a/SeatsioDotNet/EventReports/EventReportItem.cs b/SeatsioDotNet/EventReports/EventReportItem.cs index 0afea9a..58e991f 100644 --- a/SeatsioDotNet/EventReports/EventReportItem.cs +++ b/SeatsioDotNet/EventReports/EventReportItem.cs @@ -38,5 +38,6 @@ public class EventReportItem public bool IsSelectable { get; set; } public bool? IsDisabledBySocialDistancing { get; set; } public string Channel { get; set; } + public float? DistanceToFocalPoint { get; set; } } } diff --git a/SeatsioDotNet/SeatsioDotNet.csproj b/SeatsioDotNet/SeatsioDotNet.csproj index 58e492e..6fa523e 100644 --- a/SeatsioDotNet/SeatsioDotNet.csproj +++ b/SeatsioDotNet/SeatsioDotNet.csproj @@ -2,7 +2,7 @@ Library true - 81.1.0 + 81.2.0 mroloux;bverbeken Official Seats.io .NET API client Official Seats.io .NET API client