Add Api and startup check for sufficient storage capacity (#13888)

This commit is contained in:
JPVenson
2025-04-21 05:06:50 +03:00
committed by GitHub
parent 5e4bd744c0
commit a0931baa8e
12 changed files with 560 additions and 125 deletions
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
namespace MediaBrowser.Model.System;
/// <summary>
/// Contains informations about a libraries storage informations.
/// </summary>
public class LibraryStorageInfo
{
/// <summary>
/// Gets or sets the Library Id.
/// </summary>
public required Guid Id { get; set; }
/// <summary>
/// Gets or sets the name of the library.
/// </summary>
public required string Name { get; set; }
/// <summary>
/// Gets or sets the storage informations about the folders used in a library.
/// </summary>
public required IReadOnlyCollection<FolderStorageInfo> Folders { get; set; }
}