aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2023-02-04 10:21:49 -0700
committerGitHub <noreply@github.com>2023-02-04 10:21:49 -0700
commitd1af317d98a6190711af406af17b569844aebbd7 (patch)
tree3422bb577d2821a9798465439e983932690aa2e3 /Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
parente0519189b25bc4605889e46d9583fea9aef41732 (diff)
parentdfea1229e12764a77f5d392194b1848f80b87042 (diff)
Merge pull request #9215 from Shadowghost/api-scoped-namespace
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;
}