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 --- .../UpdateMediaPathRequestDto.cs | 29 +++++++++++----------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs') diff --git a/Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs b/Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs index fbd4985f9..a4d33f3b9 100644 --- a/Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs +++ b/Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs @@ -1,23 +1,22 @@ using System.ComponentModel.DataAnnotations; using MediaBrowser.Model.Configuration; -namespace Jellyfin.Api.Models.LibraryStructureDto +namespace Jellyfin.Api.Models.LibraryStructureDto; + +/// +/// Update library options dto. +/// +public class UpdateMediaPathRequestDto { /// - /// Update library options dto. + /// Gets or sets the library name. /// - public class UpdateMediaPathRequestDto - { - /// - /// Gets or sets the library name. - /// - [Required] - public string Name { get; set; } = null!; + [Required] + public string Name { get; set; } = null!; - /// - /// Gets or sets library folder path information. - /// - [Required] - public MediaPathInfo PathInfo { get; set; } = null!; - } + /// + /// Gets or sets library folder path information. + /// + [Required] + public MediaPathInfo PathInfo { get; set; } = null!; } -- cgit v1.2.3