StationDto.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #nullable disable
  2. using System.Collections.Generic;
  3. using System.Text.Json.Serialization;
  4. namespace Emby.Server.Implementations.LiveTv.Listings.SchedulesDirectDtos
  5. {
  6. /// <summary>
  7. /// Station dto.
  8. /// </summary>
  9. public class StationDto
  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 name.
  18. /// </summary>
  19. [JsonPropertyName("name")]
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// Gets or sets the callsign.
  23. /// </summary>
  24. [JsonPropertyName("callsign")]
  25. public string Callsign { get; set; }
  26. /// <summary>
  27. /// Gets or sets the broadcast language.
  28. /// </summary>
  29. [JsonPropertyName("broadcastLanguage")]
  30. public List<string> BroadcastLanguage { get; set; }
  31. /// <summary>
  32. /// Gets or sets the description language.
  33. /// </summary>
  34. [JsonPropertyName("descriptionLanguage")]
  35. public List<string> DescriptionLanguage { get; set; }
  36. /// <summary>
  37. /// Gets or sets the broadcaster.
  38. /// </summary>
  39. [JsonPropertyName("broadcaster")]
  40. public BroadcasterDto Broadcaster { get; set; }
  41. /// <summary>
  42. /// Gets or sets the affiliate.
  43. /// </summary>
  44. [JsonPropertyName("affiliate")]
  45. public string Affiliate { get; set; }
  46. /// <summary>
  47. /// Gets or sets the logo.
  48. /// </summary>
  49. [JsonPropertyName("logo")]
  50. public LogoDto Logo { get; set; }
  51. /// <summary>
  52. /// Gets or set a value indicating whether it is commercial free.
  53. /// </summary>
  54. [JsonPropertyName("isCommercialFree")]
  55. public bool? IsCommercialFree { get; set; }
  56. }
  57. }