aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
blob: 1acabb767dffb90e28165194bc1f68e843204e78 (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
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;
}