Added timing information to CloudflareResponse

This commit is contained in:
2024-11-08 17:11:32 +01:00
parent 935632df27
commit 42455e596b
9 changed files with 77 additions and 58 deletions

View File

@@ -0,0 +1,28 @@
using System;
namespace AMWD.Net.Api.Cloudflare
{
/// <summary>
/// Information about the processing time of a file.
/// </summary>
public class RecordProcessTiming
{
/// <summary>
/// When the file parsing ended.
/// </summary>
[JsonProperty("end_time")]
public DateTime? EndTime { get; set; }
/// <summary>
/// Processing time of the file in seconds.
/// </summary>
[JsonProperty("process_time")]
public int? ProcessTime { get; set; }
/// <summary>
/// When the file parsing started.
/// </summary>
[JsonProperty("start_time")]
public DateTime? StartTime { get; set; }
}
}