aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs
blob: cbd43c144b00c64656aad707887673cbec615ae1 (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
29
30
31
using System;
using System.Collections.Generic;
using MediaBrowser.Model.Dto;

namespace MediaBrowser.Model.LiveTv;

/// <summary>
/// Channel mapping options dto.
/// </summary>
public class ChannelMappingOptionsDto
{
    /// <summary>
    /// Gets or sets list of tuner channels.
    /// </summary>
    public required IReadOnlyList<TunerChannelMapping> TunerChannels { get; set; }

    /// <summary>
    /// Gets or sets list of provider channels.
    /// </summary>
    public required IReadOnlyList<NameIdPair> ProviderChannels { get; set; }

    /// <summary>
    /// Gets or sets list of mappings.
    /// </summary>
    public IReadOnlyList<NameValuePair> Mappings { get; set; } = Array.Empty<NameValuePair>();

    /// <summary>
    /// Gets or sets provider name.
    /// </summary>
    public string? ProviderName { get; set; }
}