mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-27 11:14:47 +03:00
Fix request parameters
This commit is contained in:
27
Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs
Normal file
27
Jellyfin.Api/Models/LibraryStructureDto/MediaPathDto.cs
Normal file
@@ -0,0 +1,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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user