MetadataScheduleDto.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Text.Json.Serialization;
  3. namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
  4. {
  5. /// <summary>
  6. /// Metadata schedule dto.
  7. /// </summary>
  8. public class MetadataScheduleDto
  9. {
  10. /// <summary>
  11. /// Gets or sets the modified timestamp.
  12. /// </summary>
  13. [JsonPropertyName("modified")]
  14. public string? Modified { get; set; }
  15. /// <summary>
  16. /// Gets or sets the md5.
  17. /// </summary>
  18. [JsonPropertyName("md5")]
  19. public string? Md5 { get; set; }
  20. /// <summary>
  21. /// Gets or sets the start date.
  22. /// </summary>
  23. [JsonPropertyName("startDate")]
  24. public DateTime? StartDate { get; set; }
  25. /// <summary>
  26. /// Gets or sets the end date.
  27. /// </summary>
  28. [JsonPropertyName("endDate")]
  29. public DateTime? EndDate { get; set; }
  30. /// <summary>
  31. /// Gets or sets the days count.
  32. /// </summary>
  33. [JsonPropertyName("days")]
  34. public int Days { get; set; }
  35. }
  36. }