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

27 lines
593 B
C#
Raw Normal View History

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