Files
duplicati/Duplicati/Library/Backend/Box/Model/FileEntity.cs
T
Marcelo C. 3fd663e923 Terminal Box.com replacement of deprecated WebClient/OAuth
Creating of the new OAuthHelper for HttpClient.
Removal of manual assembly of the multipart post.
2025-03-20 15:23:31 -03:00

20 lines
471 B
C#

using System;
using Newtonsoft.Json;
namespace Duplicati.Library.Backend.Box;
public class FileEntity : MiniFolder
{
public FileEntity()
{
Size = -1;
}
[JsonProperty("sha1")] public string SHA1 { get; set; }
[JsonProperty("size", NullValueHandling = NullValueHandling.Ignore)]
public long Size { get; set; }
[JsonProperty("modified_at", NullValueHandling = NullValueHandling.Ignore)]
public DateTime ModifiedAt { get; set; }
}