jellyfin/Jellyfin.Api/Models/LiveTvDtos/ChannelMappingOptionsDto.cs

33 lines
887 B
C#
Raw Normal View History

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