aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs
blob: 94ffc5238fe239602a71f7f7a292f93250dce5aa (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
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; }
}