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

namespace Jellyfin.Api.Models.LibraryStructureDto
{
    /// <summary>
    /// Media Path dto.
    /// </summary>
    public class MediaPathDto
    {
        /// <summary>
        /// Gets or sets the name of the library.
        /// </summary>
        [Required]
        public string? Name { get; set; }

        /// <summary>
        /// Gets or sets the path to add.
        /// </summary>
        public string? Path { get; set; }

        /// <summary>
        /// Gets or sets the path info.
        /// </summary>
        public MediaPathInfo? PathInfo { get; set; }
    }
}