2025-02-26 16:17:20 +01:00
|
|
|
|
namespace AutoClient.Modes.FolderStore
|
|
|
|
|
|
{
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class FolderStatus
|
|
|
|
|
|
{
|
|
|
|
|
|
public List<FileStatus> Files { get; set; } = new List<FileStatus>();
|
2025-02-27 09:15:28 +01:00
|
|
|
|
public Stats Stats { get; set; } = new Stats();
|
|
|
|
|
|
public string Padding { get; set; } = string.Empty;
|
2025-02-26 16:17:20 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class FileStatus
|
|
|
|
|
|
{
|
2025-04-03 14:18:27 +02:00
|
|
|
|
public string CodexNodeId { get; set; } = string.Empty;
|
2025-02-26 16:17:20 +01:00
|
|
|
|
public string Filename { get; set; } = string.Empty;
|
|
|
|
|
|
public string BasicCid { get; set; } = string.Empty;
|
|
|
|
|
|
public string EncodedCid { get; set; } = string.Empty;
|
|
|
|
|
|
public string PurchaseId { get; set; } = string.Empty;
|
|
|
|
|
|
public DateTime PurchaseFinishedUtc { get; set; } = DateTime.MinValue;
|
|
|
|
|
|
}
|
2025-02-27 09:15:28 +01:00
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class Stats
|
|
|
|
|
|
{
|
|
|
|
|
|
public int SuccessfulUploads { get; set; }
|
|
|
|
|
|
public int FailedUploads { get; set; }
|
|
|
|
|
|
public StorageRequestStats StorageRequestStats { get; set; } = new StorageRequestStats();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
|
public class StorageRequestStats
|
|
|
|
|
|
{
|
|
|
|
|
|
public int FailedToCreate { get; set; }
|
|
|
|
|
|
public int FailedToSubmit { get; set; }
|
|
|
|
|
|
public int FailedToStart { get; set; }
|
|
|
|
|
|
public int SuccessfullyStarted { get; set; }
|
|
|
|
|
|
}
|
2025-02-26 16:17:20 +01:00
|
|
|
|
}
|