aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.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/LibraryStructureDto/MediaPathDto.cs
parente0519189b25bc4605889e46d9583fea9aef41732 (diff)
parentdfea1229e12764a77f5d392194b1848f80b87042 (diff)
Merge pull request #9215 from Shadowghost/api-scoped-namespace
Diffstat (limited to 'Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs')
-rw-r--r--Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs35
1 files changed, 17 insertions, 18 deletions
diff --git a/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs b/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs
index 8b26ec317..94ffc5238 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;
+
+/// <summary>
+/// Media Path dto.
+/// </summary>
+public class MediaPathDto
{
/// <summary>
- /// Media Path dto.
+ /// Gets or sets the name of the library.
/// </summary>
- public class MediaPathDto
- {
- /// <summary>
- /// Gets or sets the name of the library.
- /// </summary>
- [Required]
- public string? Name { get; set; }
+ [Required]
+ public string? Name { get; set; }
- /// <summary>
- /// Gets or sets the path to add.
- /// </summary>
- public string? Path { get; set; }
+ /// <summary>
+ /// Gets or sets the path to add.
+ /// </summary>
+ public string? Path { get; set; }
- /// <summary>
- /// Gets or sets the path info.
- /// </summary>
- public MediaPathInfo? PathInfo { get; set; }
- }
+ /// <summary>
+ /// Gets or sets the path info.
+ /// </summary>
+ public MediaPathInfo? PathInfo { get; set; }
}