diff --git a/GoogleMapsAPI.NET.Core/API/Places/Components/PlaceOpeningPeriodDayTime.cs b/GoogleMapsAPI.NET.Core/API/Places/Components/PlaceOpeningPeriodDayTime.cs index f936546..53ea912 100644 --- a/GoogleMapsAPI.NET.Core/API/Places/Components/PlaceOpeningPeriodDayTime.cs +++ b/GoogleMapsAPI.NET.Core/API/Places/Components/PlaceOpeningPeriodDayTime.cs @@ -22,7 +22,7 @@ public class PlaceOpeningPeriodDayTime /// time will be reported in the place’s time zone. /// [DataMember(Name = "time")] - public int Time { get; set; } + public string Time { get; set; } #endregion diff --git a/GoogleMapsAPI.NET.Core/API/Places/Components/PlaceOpeningPeriods.cs b/GoogleMapsAPI.NET.Core/API/Places/Components/PlaceOpeningPeriods.cs index f56b5e6..dc78973 100644 --- a/GoogleMapsAPI.NET.Core/API/Places/Components/PlaceOpeningPeriods.cs +++ b/GoogleMapsAPI.NET.Core/API/Places/Components/PlaceOpeningPeriods.cs @@ -16,13 +16,13 @@ public class PlaceOpeningPeriods /// When the place opens /// [DataMember(Name = "open")] - public List Open { get; set; } + public PlaceOpeningPeriodDayTime Open { get; set; } /// /// When the place closes /// [DataMember(Name = "close")] - public List Close { get; set; } + public PlaceOpeningPeriodDayTime Close { get; set; } #endregion