ChannelMappingOptionsDto.cs 887 B

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