jellyfin/MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs

32 lines
841 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
2020-06-21 22:12:21 +00:00
using MediaBrowser.Model.Dto;
2024-01-17 20:18:15 +00:00
namespace MediaBrowser.Model.LiveTv;
2023-01-31 11:18:10 +00:00
/// <summary>
/// Channel mapping options dto.
/// </summary>
public class ChannelMappingOptionsDto
2020-06-21 22:12:21 +00:00
{
/// <summary>
2023-01-31 11:18:10 +00:00
/// Gets or sets list of tuner channels.
2020-06-21 22:12:21 +00:00
/// </summary>
public required IReadOnlyList<TunerChannelMapping> TunerChannels { get; set; }
2020-06-21 22:12:21 +00:00
2023-01-31 11:18:10 +00:00
/// <summary>
/// Gets or sets list of provider channels.
/// </summary>
public required IReadOnlyList<NameIdPair> ProviderChannels { get; set; }
2020-06-21 22:12:21 +00:00
2023-01-31 11:18:10 +00:00
/// <summary>
/// Gets or sets list of mappings.
/// </summary>
public IReadOnlyList<NameValuePair> Mappings { get; set; } = Array.Empty<NameValuePair>();
2020-06-21 22:12:21 +00:00
2023-01-31 11:18:10 +00:00
/// <summary>
/// Gets or sets provider name.
/// </summary>
public string? ProviderName { get; set; }
2020-06-21 22:12:21 +00:00
}