aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs
diff options
context:
space:
mode:
authorClaus Vium <clausvium@gmail.com>2020-08-31 14:47:57 +0200
committerClaus Vium <clausvium@gmail.com>2020-08-31 14:47:57 +0200
commit7103e764a4f7a6e142251bee787722f3e41d18af (patch)
tree4cc7061b91b8d21cc212e902b714e9ec9e7527be /Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs
parented756dfe9636ebe246d027011a65c597f4ae04cf (diff)
Fix model binding in UpdateLibraryOptions
Diffstat (limited to 'Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs')
-rw-r--r--Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs b/Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs
new file mode 100644
index 000000000..c78ed51f7
--- /dev/null
+++ b/Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs
@@ -0,0 +1,21 @@
+using System;
+using MediaBrowser.Model.Configuration;
+
+namespace Jellyfin.Api.Models.LibraryStructureDto
+{
+ /// <summary>
+ /// Update library options dto.
+ /// </summary>
+ public class UpdateLibraryOptionsDto
+ {
+ /// <summary>
+ /// Gets or sets the library item id.
+ /// </summary>
+ public Guid Id { get; set; }
+
+ /// <summary>
+ /// Gets or sets library options.
+ /// </summary>
+ public LibraryOptions? LibraryOptions { get; set; }
+ }
+}