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/LibraryStructureDto/MediaPathDto.cs | 35 +++++++++++----------- 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs') diff --git a/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs b/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs index 8b26ec317a..94ffc5238f 100644 --- a/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs +++ b/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs @@ -1,27 +1,26 @@ using System.ComponentModel.DataAnnotations; using MediaBrowser.Model.Configuration; -namespace Jellyfin.Api.Models.LibraryStructureDto +namespace Jellyfin.Api.Models.LibraryStructureDto; + +/// +/// Media Path dto. +/// +public class MediaPathDto { /// - /// Media Path dto. + /// Gets or sets the name of the library. /// - public class MediaPathDto - { - /// - /// Gets or sets the name of the library. - /// - [Required] - public string? Name { get; set; } + [Required] + public string? Name { get; set; } - /// - /// Gets or sets the path to add. - /// - public string? Path { get; set; } + /// + /// Gets or sets the path to add. + /// + public string? Path { get; set; } - /// - /// Gets or sets the path info. - /// - public MediaPathInfo? PathInfo { get; set; } - } + /// + /// Gets or sets the path info. + /// + public MediaPathInfo? PathInfo { get; set; } } -- cgit v1.2.3