aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
blob: e7501bd9fbe83533fddf26c3006f2bde822961a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System.ComponentModel.DataAnnotations;

namespace Jellyfin.Api.Models.LiveTvDtos
{
    /// <summary>
    /// Set channel mapping dto.
    /// </summary>
    public class SetChannelMappingDto
    {
        /// <summary>
        /// Gets or sets the provider id.
        /// </summary>
        [Required]
        public string ProviderId { get; set; } = string.Empty;

        /// <summary>
        /// Gets or sets the tuner channel id.
        /// </summary>
        [Required]
        public string TunerChannelId { get; set; } = string.Empty;

        /// <summary>
        /// Gets or sets the provider channel id.
        /// </summary>
        [Required]
        public string ProviderChannelId { get; set; } = string.Empty;
    }
}