aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs
blob: a4d33f3b9c729ad76211fc831d82f2dfb804a703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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!;
}