jellyfin/Emby.Server.Implementations/LiveTv/Listings/SchedulesDirectDtos/MetadataScheduleDto.cs

42 lines
1.1 KiB
C#
Raw Normal View History

2021-09-12 21:56:26 +02:00
using System;
2021-08-29 00:32:50 +02:00
using System.Text.Json.Serialization;
namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
{
/// <summary>
/// Metadata schedule dto.
/// </summary>
public class MetadataScheduleDto
{
/// <summary>
/// Gets or sets the modified timestamp.
/// </summary>
[JsonPropertyName("modified")]
2021-09-03 18:59:40 +02:00
public string? Modified { get; set; }
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the md5.
/// </summary>
[JsonPropertyName("md5")]
2021-09-03 18:59:40 +02:00
public string? Md5 { get; set; }
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the start date.
/// </summary>
[JsonPropertyName("startDate")]
2021-09-12 21:56:26 +02:00
public DateTime? StartDate { get; set; }
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the end date.
/// </summary>
[JsonPropertyName("endDate")]
2021-09-12 21:56:26 +02:00
public DateTime? EndDate { get; set; }
2021-08-29 00:32:50 +02:00
/// <summary>
/// Gets or sets the days count.
/// </summary>
[JsonPropertyName("days")]
public int Days { get; set; }
}
}