Fix model binding in UpdateLibraryOptions

This commit is contained in:
Claus Vium
2020-08-31 14:47:57 +02:00
parent ed756dfe96
commit 7103e764a4
3 changed files with 29 additions and 10 deletions

View File

@@ -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; }
}
}