MediaPathDto.cs 670 B

123456789101112131415161718192021222324252627
  1. using System.ComponentModel.DataAnnotations;
  2. using MediaBrowser.Model.Configuration;
  3. namespace Jellyfin.Api.Models.LibraryStructureDto
  4. {
  5. /// <summary>
  6. /// Media Path dto.
  7. /// </summary>
  8. public class MediaPathDto
  9. {
  10. /// <summary>
  11. /// Gets or sets the name of the library.
  12. /// </summary>
  13. [Required]
  14. public string? Name { get; set; }
  15. /// <summary>
  16. /// Gets or sets the path to add.
  17. /// </summary>
  18. public string? Path { get; set; }
  19. /// <summary>
  20. /// Gets or sets the path info.
  21. /// </summary>
  22. public MediaPathInfo? PathInfo { get; set; }
  23. }
  24. }