diff options
Diffstat (limited to 'MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs')
| -rw-r--r-- | MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs b/MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs new file mode 100644 index 000000000..3f9ecc8c8 --- /dev/null +++ b/MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs @@ -0,0 +1,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; } +} |
