2
0

ChannelMappingOptionsDto.cs 1016 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Diagnostics.CodeAnalysis;
  4. using MediaBrowser.Controller.LiveTv;
  5. using MediaBrowser.Model.Dto;
  6. namespace Jellyfin.Api.Models.LiveTvDtos
  7. {
  8. /// <summary>
  9. /// Channel mapping options dto.
  10. /// </summary>
  11. public class ChannelMappingOptionsDto
  12. {
  13. /// <summary>
  14. /// Gets or sets list of tuner channels.
  15. /// </summary>
  16. required public IReadOnlyList<TunerChannelMapping> TunerChannels { get; set; }
  17. /// <summary>
  18. /// Gets or sets list of provider channels.
  19. /// </summary>
  20. required public IReadOnlyList<NameIdPair> ProviderChannels { get; set; }
  21. /// <summary>
  22. /// Gets or sets list of mappings.
  23. /// </summary>
  24. public IReadOnlyList<NameValuePair> Mappings { get; set; } = Array.Empty<NameValuePair>();
  25. /// <summary>
  26. /// Gets or sets provider name.
  27. /// </summary>
  28. public string? ProviderName { get; set; }
  29. }
  30. }