2020-12-13 15:32:33 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
namespace Jellyfin.Api.Models.LiveTvDtos;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Set channel mapping dto.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class SetChannelMappingDto
|
2020-12-13 15:32:33 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// Gets or sets the provider id.
|
2020-12-13 15:32:33 +00:00
|
|
|
|
/// </summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
[Required]
|
|
|
|
|
public string ProviderId { get; set; } = string.Empty;
|
2020-12-13 15:32:33 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the tuner channel id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required]
|
|
|
|
|
public string TunerChannelId { get; set; } = string.Empty;
|
2020-12-13 15:32:33 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the provider channel id.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required]
|
|
|
|
|
public string ProviderChannelId { get; set; } = string.Empty;
|
2021-12-24 17:28:27 +00:00
|
|
|
|
}
|