aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/LibraryStructureDto/UpdateMediaPathRequestDto.cs
blob: 85935b94edb06401ea14738f2455e6d287d95a4e (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!;
}