aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs')
-rw-r--r--Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs39
1 files changed, 19 insertions, 20 deletions
diff --git a/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs b/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
index e7501bd9f..2dbaece5e 100644
--- a/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
+++ b/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
@@ -1,28 +1,27 @@
using System.ComponentModel.DataAnnotations;
-namespace Jellyfin.Api.Models.LiveTvDtos
+namespace Jellyfin.Api.Models.LiveTvDtos;
+
+/// <summary>
+/// Set channel mapping dto.
+/// </summary>
+public class SetChannelMappingDto
{
/// <summary>
- /// Set channel mapping dto.
+ /// Gets or sets the provider id.
/// </summary>
- public class SetChannelMappingDto
- {
- /// <summary>
- /// Gets or sets the provider id.
- /// </summary>
- [Required]
- public string ProviderId { get; set; } = string.Empty;
+ [Required]
+ public string ProviderId { get; set; } = string.Empty;
- /// <summary>
- /// Gets or sets the tuner channel id.
- /// </summary>
- [Required]
- public string TunerChannelId { get; set; } = string.Empty;
+ /// <summary>
+ /// Gets or sets the tuner channel id.
+ /// </summary>
+ [Required]
+ public string TunerChannelId { get; set; } = string.Empty;
- /// <summary>
- /// Gets or sets the provider channel id.
- /// </summary>
- [Required]
- public string ProviderChannelId { get; set; } = string.Empty;
- }
+ /// <summary>
+ /// Gets or sets the provider channel id.
+ /// </summary>
+ [Required]
+ public string ProviderChannelId { get; set; } = string.Empty;
}