SetChannelMappingDto.cs 747 B

12345678910111213141516171819202122232425262728
  1. using System.ComponentModel.DataAnnotations;
  2. namespace Jellyfin.Api.Models.LiveTvDtos
  3. {
  4. /// <summary>
  5. /// Set channel mapping dto.
  6. /// </summary>
  7. public class SetChannelMappingDto
  8. {
  9. /// <summary>
  10. /// Gets or sets the provider id.
  11. /// </summary>
  12. [Required]
  13. public string ProviderId { get; set; } = string.Empty;
  14. /// <summary>
  15. /// Gets or sets the tuner channel id.
  16. /// </summary>
  17. [Required]
  18. public string TunerChannelId { get; set; } = string.Empty;
  19. /// <summary>
  20. /// Gets or sets the provider channel id.
  21. /// </summary>
  22. [Required]
  23. public string ProviderChannelId { get; set; } = string.Empty;
  24. }
  25. }