DayDto.cs 845 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text.Json.Serialization;
  4. namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
  5. {
  6. /// <summary>
  7. /// Day dto.
  8. /// </summary>
  9. public class DayDto
  10. {
  11. /// <summary>
  12. /// Gets or sets the station id.
  13. /// </summary>
  14. [JsonPropertyName("stationID")]
  15. public string? StationId { get; set; }
  16. /// <summary>
  17. /// Gets or sets the list of programs.
  18. /// </summary>
  19. [JsonPropertyName("programs")]
  20. public IReadOnlyList<ProgramDto> Programs { get; set; } = Array.Empty<ProgramDto>();
  21. /// <summary>
  22. /// Gets or sets the metadata schedule.
  23. /// </summary>
  24. [JsonPropertyName("metadata")]
  25. public MetadataScheduleDto? Metadata { get; set; }
  26. }
  27. }