From f5f890e68562e55d4bed16c454c4b4305152b296 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Tue, 31 Jan 2023 12:18:10 +0100 Subject: Migrate to file-scoped namespaces --- .../Models/LiveTvDtos/SetChannelMappingDto.cs | 39 +++++++++++----------- 1 file changed, 19 insertions(+), 20 deletions(-) (limited to 'Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs') diff --git a/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs b/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs index e7501bd9fb..2dbaece5e1 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; + +/// +/// Set channel mapping dto. +/// +public class SetChannelMappingDto { /// - /// Set channel mapping dto. + /// Gets or sets the provider id. /// - public class SetChannelMappingDto - { - /// - /// Gets or sets the provider id. - /// - [Required] - public string ProviderId { get; set; } = string.Empty; + [Required] + public string ProviderId { get; set; } = string.Empty; - /// - /// Gets or sets the tuner channel id. - /// - [Required] - public string TunerChannelId { get; set; } = string.Empty; + /// + /// Gets or sets the tuner channel id. + /// + [Required] + public string TunerChannelId { get; set; } = string.Empty; - /// - /// Gets or sets the provider channel id. - /// - [Required] - public string ProviderChannelId { get; set; } = string.Empty; - } + /// + /// Gets or sets the provider channel id. + /// + [Required] + public string ProviderChannelId { get; set; } = string.Empty; } -- cgit v1.2.3