2020-07-24 23:22:32 +00:00
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using MediaBrowser.Model.Configuration;
|
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
namespace Jellyfin.Api.Models.LibraryStructureDto;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Media Path dto.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class MediaPathDto
|
2020-07-24 23:22:32 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// Gets or sets the name of the library.
|
2020-07-24 23:22:32 +00:00
|
|
|
|
/// </summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
[Required]
|
|
|
|
|
public string? Name { get; set; }
|
2020-07-24 23:22:32 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the path to add.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Path { get; set; }
|
2020-07-24 23:22:32 +00:00
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the path info.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public MediaPathInfo? PathInfo { get; set; }
|
2021-12-24 17:28:27 +00:00
|
|
|
|
}
|