ChannelDto.cs 865 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. /// Channel dto.
  8. /// </summary>
  9. public class ChannelDto
  10. {
  11. /// <summary>
  12. /// Gets or sets the list of maps.
  13. /// </summary>
  14. [JsonPropertyName("map")]
  15. public IReadOnlyList<MapDto> Map { get; set; } = Array.Empty<MapDto>();
  16. /// <summary>
  17. /// Gets or sets the list of stations.
  18. /// </summary>
  19. [JsonPropertyName("stations")]
  20. public IReadOnlyList<StationDto> Stations { get; set; } = Array.Empty<StationDto>();
  21. /// <summary>
  22. /// Gets or sets the metadata.
  23. /// </summary>
  24. [JsonPropertyName("metadata")]
  25. public MetadataDto? Metadata { get; set; }
  26. }
  27. }