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