aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-08-31 15:44:47 +0200
committerGitHub <noreply@github.com>2020-08-31 15:44:47 +0200
commit1f4deccfa4768f75edc14332009e3f30e08e1992 (patch)
tree2d0f478376cb5c5f4386c7e91170c1067a7d151b /Jellyfin.Api/Models/LibraryStructureDto/UpdateLibraryOptionsDto.cs
parentb6cc1e1620d1d19b64eaeb5b0371b4ba8b3e4c5d (diff)
parent7103e764a4f7a6e142251bee787722f3e41d18af (diff)
Merge pull request #4027 from cvium/fix_update_libraryoptions
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; }
+ }
+}