jellyfin/Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs

23 lines
546 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
using MediaBrowser.Model.Configuration;
2023-01-31 12:18:10 +01:00
namespace Jellyfin.Api.Models.LibraryStructureDto;
/// <summary>
/// Update library options dto.
/// </summary>
public class UpdateMediaPathRequestDto
{
/// <summary>
2023-01-31 12:18:10 +01:00
/// Gets or sets the library name.
/// </summary>
2023-01-31 12:18:10 +01:00
[Required]
public string Name { get; set; } = null!;
2023-01-31 12:18:10 +01:00
/// <summary>
/// Gets or sets library folder path information.
/// </summary>
[Required]
public MediaPathInfo PathInfo { get; set; } = null!;
}