You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using MediaBrowser.Model.Configuration;
|
|
|
|
|
|
|
|
|
|
namespace Jellyfin.Api.Models.LibraryStructureDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Media Path dto.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class MediaPathDto
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the name of the library.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Required]
|
|
|
|
|
public string? Name { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the path to add.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string? Path { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the path info.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public MediaPathInfo? PathInfo { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|