ChannelMappingOptionsDto.cs 841 B

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