Fix types and property names

This commit is contained in:
Cody Robibero
2021-09-12 13:56:26 -06:00
parent 23e6c918a2
commit 7a7fe3e681
4 changed files with 8 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
/// Gets or sets the datetime.
/// </summary>
[JsonPropertyName("datetime")]
public DateTime? Datetime { get; set; }
public DateTime? LineupTimestamp { get; set; }
/// <summary>
/// Gets or sets the list of lineups.

View File

@@ -1,3 +1,4 @@
using System;
using System.Text.Json.Serialization;
namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
@@ -23,13 +24,13 @@ namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
/// Gets or sets the start date.
/// </summary>
[JsonPropertyName("startDate")]
public string? StartDate { get; set; }
public DateTime? StartDate { get; set; }
/// <summary>
/// Gets or sets the end date.
/// </summary>
[JsonPropertyName("endDate")]
public string? EndDate { get; set; }
public DateTime? EndDate { get; set; }
/// <summary>
/// Gets or sets the days count.

View File

@@ -36,7 +36,7 @@ namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
/// Gets or sets the current datetime.
/// </summary>
[JsonPropertyName("datetime")]
public DateTime? DateTime { get; set; }
public DateTime? TokenTimestamp { get; set; }
/// <summary>
/// Gets or sets the response message.