UpdateMediaPathRequestDto.cs 612 B

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