From d801621cfc902f1c65f3da8d466d625e1d7630b1 Mon Sep 17 00:00:00 2001 From: crobibero Date: Fri, 24 Jul 2020 17:22:32 -0600 Subject: Fix request parameters --- .../Models/LibraryStructureDto/MediaPathDto.cs | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs (limited to 'Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs') diff --git a/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs b/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs new file mode 100644 index 000000000..f65988259 --- /dev/null +++ b/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs @@ -0,0 +1,27 @@ +using System.ComponentModel.DataAnnotations; +using MediaBrowser.Model.Configuration; + +namespace Jellyfin.Api.Models.LibraryStructureDto +{ + /// + /// Media Path dto. + /// + public class MediaPathDto + { + /// + /// Gets or sets the name of the library. + /// + [Required] + public string? Name { 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; } + } +} \ No newline at end of file -- cgit v1.2.3