#region ========================================================================= USING ===================================================================================== using Lumina.Domain.SharedKernel.Common.Enums.FileSystem; using System.Collections.Generic; using System.Diagnostics; #endregion namespace Lumina.Contracts.Responses.FileSystemManagement.Common; /// /// Generic file system node. /// [DebuggerDisplay("Path: {Path}")] public class FileSystemTreeNodeResponse { /// /// Gets or sets the full path of the file or directory. /// public string Path { get; set; } = null!; /// /// Gets or sets the name of the file or directory. /// public string Name { get; set; } = null!; /// /// Gets or sets the type of the item, indicating whether it is a file, directory, or drive. /// public FileSystemItemType ItemType { get; set; } /// /// Gets or sets a value indicating whether the file or directory is hidden. /// public bool IsHidden { get; set; } /// /// Gets or sets a value indicating whether the node is expanded. /// public bool IsExpanded { get; set; } /// /// Gets or sets a value indicating whether the child nodes have been loaded. /// public bool ChildrenLoaded { get; set; } /// /// Gets or sets the list of child nodes. /// public List Children { get; set; } = []; }