2
0

ChannelMappingOptionsDto.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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. [SuppressMessage("Microsoft.Performance", "CA2227:ReadOnlyRemoveSetter", MessageId = "TunerChannels", Justification = "Imported from ServiceStack")]
  17. public List<TunerChannelMapping> TunerChannels { get; set; } = null!;
  18. /// <summary>
  19. /// Gets or sets list of provider channels.
  20. /// </summary>
  21. [SuppressMessage("Microsoft.Performance", "CA2227:ReadOnlyRemoveSetter", MessageId = "ProviderChannels", Justification = "Imported from ServiceStack")]
  22. public List<NameIdPair> ProviderChannels { get; set; } = null!;
  23. /// <summary>
  24. /// Gets or sets list of mappings.
  25. /// </summary>
  26. public IReadOnlyList<NameValuePair> Mappings { get; set; } = Array.Empty<NameValuePair>();
  27. /// <summary>
  28. /// Gets or sets provider name.
  29. /// </summary>
  30. public string? ProviderName { get; set; }
  31. }
  32. }