ChannelMappingOptionsDto.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections.Generic;
  2. using System.Diagnostics.CodeAnalysis;
  3. using MediaBrowser.Controller.LiveTv;
  4. using MediaBrowser.Model.Dto;
  5. namespace Jellyfin.Api.Models.LiveTvDtos
  6. {
  7. /// <summary>
  8. /// Channel mapping options dto.
  9. /// </summary>
  10. public class ChannelMappingOptionsDto
  11. {
  12. /// <summary>
  13. /// Gets or sets list of tuner channels.
  14. /// </summary>
  15. [SuppressMessage("Microsoft.Performance", "CA2227:ReadOnlyRemoveSetter", MessageId = "TunerChannels", Justification = "Imported from ServiceStack")]
  16. public List<TunerChannelMapping> TunerChannels { get; set; } = null!;
  17. /// <summary>
  18. /// Gets or sets list of provider channels.
  19. /// </summary>
  20. [SuppressMessage("Microsoft.Performance", "CA2227:ReadOnlyRemoveSetter", MessageId = "ProviderChannels", Justification = "Imported from ServiceStack")]
  21. public List<NameIdPair> ProviderChannels { get; set; } = null!;
  22. /// <summary>
  23. /// Gets or sets list of mappings.
  24. /// </summary>
  25. [SuppressMessage("Microsoft.Performance", "CA1819:DontReturnArrays", MessageId = "Mappings", Justification = "Imported from ServiceStack")]
  26. public NameValuePair[] Mappings { get; set; } = null!;
  27. /// <summary>
  28. /// Gets or sets provider name.
  29. /// </summary>
  30. public string? ProviderName { get; set; }
  31. }
  32. }