mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-29 20:24:47 +03:00
Migrate to file-scoped namespaces
This commit is contained in:
@@ -1,27 +1,26 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
|
||||
namespace Jellyfin.Api.Models.LibraryStructureDto
|
||||
namespace Jellyfin.Api.Models.LibraryStructureDto;
|
||||
|
||||
/// <summary>
|
||||
/// Media Path dto.
|
||||
/// </summary>
|
||||
public class MediaPathDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Media Path dto.
|
||||
/// Gets or sets the name of the library.
|
||||
/// </summary>
|
||||
public class MediaPathDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the library.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string? Name { get; set; }
|
||||
[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 to add.
|
||||
/// </summary>
|
||||
public string? Path { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the path info.
|
||||
/// </summary>
|
||||
public MediaPathInfo? PathInfo { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets or sets the path info.
|
||||
/// </summary>
|
||||
public MediaPathInfo? PathInfo { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user