2020-11-12 08:29:42 -07:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2020-06-23 10:48:37 -07:00
|
|
|
|
using System.Diagnostics.CodeAnalysis;
|
2020-06-21 15:12:21 -07:00
|
|
|
|
using MediaBrowser.Controller.LiveTv;
|
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
|
|
|
|
|
namespace Jellyfin.Api.Models.LiveTvDtos
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Channel mapping options dto.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class ChannelMappingOptionsDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets list of tuner channels.
|
|
|
|
|
/// </summary>
|
2020-06-23 10:48:37 -07:00
|
|
|
|
[SuppressMessage("Microsoft.Performance", "CA2227:ReadOnlyRemoveSetter", MessageId = "TunerChannels", Justification = "Imported from ServiceStack")]
|
|
|
|
|
public List<TunerChannelMapping> TunerChannels { get; set; } = null!;
|
2020-06-21 15:12:21 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets list of provider channels.
|
|
|
|
|
/// </summary>
|
2020-06-23 10:48:37 -07:00
|
|
|
|
[SuppressMessage("Microsoft.Performance", "CA2227:ReadOnlyRemoveSetter", MessageId = "ProviderChannels", Justification = "Imported from ServiceStack")]
|
|
|
|
|
public List<NameIdPair> ProviderChannels { get; set; } = null!;
|
2020-06-21 15:12:21 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets list of mappings.
|
|
|
|
|
/// </summary>
|
2020-11-12 08:29:42 -07:00
|
|
|
|
public IReadOnlyList<NameValuePair> Mappings { get; set; } = Array.Empty<NameValuePair>();
|
2020-06-21 15:12:21 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets provider name.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? ProviderName { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|