UpdateMediaPathRequestDto.cs 543 B

12345678910111213141516171819202122
  1. using System.ComponentModel.DataAnnotations;
  2. using MediaBrowser.Model.Configuration;
  3. namespace Jellyfin.Api.Models.LibraryStructureDto;
  4. /// <summary>
  5. /// Update library options dto.
  6. /// </summary>
  7. public class UpdateMediaPathRequestDto
  8. {
  9. /// <summary>
  10. /// Gets or sets the library name.
  11. /// </summary>
  12. [Required]
  13. public string Name { get; set; } = null!;
  14. /// <summary>
  15. /// Gets or sets library folder path information.
  16. /// </summary>
  17. [Required]
  18. public MediaPathInfo PathInfo { get; set; } = null!;
  19. }