Files
Nemera/src/Lumina.Contracts/Responses/FileSystemManagement/Files/FileResponse.cs
T

25 lines
991 B
C#

#region ========================================================================= USING =====================================================================================
using Lumina.Contracts.DTO.FileSystemManagement;
using System;
using System.Diagnostics;
#endregion
namespace Lumina.Contracts.Responses.FileSystemManagement.Files;
/// <summary>
/// Represents a response containing a file system file.
/// </summary>
/// <param name="Path">The path of the file.</param>
/// <param name="Name">The name of the file.</param>
/// <param name="DateCreated">The creation date of the file.</param>
/// <param name="DateModified">The modification date of the file.</param>
/// <param name="Size">The size of the file, in bytes.</param>
[DebuggerDisplay("Name: {Name} (File, Size: {Size} bytes)")]
public record FileResponse(
string Path,
string Name,
DateTime DateCreated,
DateTime DateModified,
long Size
) : FileSystemItemDto(Path, Name, DateCreated, DateModified);