diff options
| author | crobibero <cody@robibe.ro> | 2020-07-24 17:22:32 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-07-24 17:22:32 -0600 |
| commit | d801621cfc902f1c65f3da8d466d625e1d7630b1 (patch) | |
| tree | ffd860296ab05fdf5e9232224b3bf362009beb6e /Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs | |
| parent | 44acb9f7d92920d26590dbac6757aef8537da736 (diff) | |
Fix request parameters
Diffstat (limited to 'Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs')
| -rw-r--r-- | Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs | 27 |
1 files changed, 27 insertions, 0 deletions
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 +{ + /// <summary> + /// Media Path dto. + /// </summary> + public class MediaPathDto + { + /// <summary> + /// Gets or sets the name of the library. + /// </summary> + [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 info. + /// </summary> + public MediaPathInfo? PathInfo { get; set; } + } +}
\ No newline at end of file |
