HeadendsDto.cs 994 B

123456789101112131415161718192021222324252627282930313233343536
  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. /// Headends dto.
  8. /// </summary>
  9. public class HeadendsDto
  10. {
  11. /// <summary>
  12. /// Gets or sets the headend.
  13. /// </summary>
  14. [JsonPropertyName("headend")]
  15. public string? Headend { get; set; }
  16. /// <summary>
  17. /// Gets or sets the transport.
  18. /// </summary>
  19. [JsonPropertyName("transport")]
  20. public string? Transport { get; set; }
  21. /// <summary>
  22. /// Gets or sets the location.
  23. /// </summary>
  24. [JsonPropertyName("location")]
  25. public string? Location { get; set; }
  26. /// <summary>
  27. /// Gets or sets the list of lineups.
  28. /// </summary>
  29. [JsonPropertyName("lineups")]
  30. public IReadOnlyList<LineupDto> Lineups { get; set; } = Array.Empty<LineupDto>();
  31. }
  32. }