diff options
| author | crobibero <cody@robibe.ro> | 2020-07-31 09:19:02 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-07-31 09:19:02 -0600 |
| commit | 9171e904de8c3de2dd8049ba3a1ff11340269f2d (patch) | |
| tree | cb26786e6a1db8f2f3d5b1a330b09146c0ccb608 /Jellyfin.Api/Models/LibraryStructureDto | |
| parent | f543a17d1b8a4e1e2f420831de586e9ecc015166 (diff) | |
| parent | 62fa72114cd543d47b2f8904cc55d90a30ac02e6 (diff) | |
Merge remote-tracking branch 'upstream/api-migration' into api-video
Diffstat (limited to 'Jellyfin.Api/Models/LibraryStructureDto')
| -rw-r--r-- | Jellyfin.Api/Models/LibraryStructureDto/LibraryOptionsDto.cs | 15 | ||||
| -rw-r--r-- | Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/LibraryStructureDto/LibraryOptionsDto.cs b/Jellyfin.Api/Models/LibraryStructureDto/LibraryOptionsDto.cs new file mode 100644 index 000000000..a13cb90db --- /dev/null +++ b/Jellyfin.Api/Models/LibraryStructureDto/LibraryOptionsDto.cs @@ -0,0 +1,15 @@ +using MediaBrowser.Model.Configuration; + +namespace Jellyfin.Api.Models.LibraryStructureDto +{ + /// <summary> + /// Library options dto. + /// </summary> + public class LibraryOptionsDto + { + /// <summary> + /// Gets or sets library options. + /// </summary> + public LibraryOptions? LibraryOptions { get; set; } + } +}
\ No newline at end of file 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 |
