2025-03-20 15:23:31 -03:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace Duplicati.Library.Backend.Box;
|
|
|
|
|
|
|
|
|
|
public class FileEntity : MiniFolder
|
|
|
|
|
{
|
|
|
|
|
public FileEntity()
|
|
|
|
|
{
|
|
|
|
|
Size = -1;
|
|
|
|
|
}
|
|
|
|
|
|
2025-03-24 17:14:21 +01:00
|
|
|
[JsonProperty("sha1")] public string? SHA1 { get; set; }
|
2025-03-20 15:23:31 -03:00
|
|
|
|
|
|
|
|
[JsonProperty("size", NullValueHandling = NullValueHandling.Ignore)]
|
|
|
|
|
public long Size { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("modified_at", NullValueHandling = NullValueHandling.Ignore)]
|
|
|
|
|
public DateTime ModifiedAt { get; set; }
|
|
|
|
|
}
|