aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs
blob: fbd4985f9c8dfa806b887d300793f56675084155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System.ComponentModel.DataAnnotations;
using MediaBrowser.Model.Configuration;

namespace Jellyfin.Api.Models.LibraryStructureDto
{
    /// <summary>
    /// Update library options dto.
    /// </summary>
    public class UpdateMediaPathRequestDto
    {
        /// <summary>
        /// Gets or sets the library name.
        /// </summary>
        [Required]
        public string Name { get; set; } = null!;

        /// <summary>
        /// Gets or sets library folder path information.
        /// </summary>
        [Required]
        public MediaPathInfo PathInfo { get; set; } = null!;
    }
}