Kavita/API/DTOs/MediaErrors/MediaErrorDto.cs
2025-05-04 07:14:44 -07:00

26 lines
626 B
C#

using System;
namespace API.DTOs.MediaErrors;
public sealed record MediaErrorDto
{
/// <summary>
/// Format Type (RAR, ZIP, 7Zip, Epub, PDF)
/// </summary>
public required string Extension { get; set; }
/// <summary>
/// Full Filepath to the file that has some issue
/// </summary>
public required string FilePath { get; set; }
/// <summary>
/// Developer defined string
/// </summary>
public string Comment { get; set; }
/// <summary>
/// Exception message
/// </summary>
public string Details { get; set; }
public DateTime CreatedUtc { get; set; }
}