Added DNS Records for Zone actions

This commit is contained in:
2024-11-11 10:23:19 +01:00
parent e561ad8ee7
commit 815c9e3e9d
38 changed files with 5581 additions and 69 deletions

View File

@@ -5,8 +5,7 @@ namespace AMWD.Net.Api.Cloudflare
/// <summary>
/// The base Cloudflare response.
/// </summary>
/// <typeparam name="T">The result type.</typeparam>
public class CloudflareResponse<T>
public class CloudflareResponse
{
/// <summary>
/// Errors returned by the API call.
@@ -26,6 +25,17 @@ namespace AMWD.Net.Api.Cloudflare
[JsonProperty("success")]
public bool Success { get; set; }
/// <summary>
/// Information about the processing time of a request.
/// </summary>
[JsonProperty("timing")]
public RecordProcessTiming? Timing { get; set; }
}
/// <inheritdoc/>
/// <typeparam name="T">The result type.</typeparam>
public class CloudflareResponse<T> : CloudflareResponse
{
/// <summary>
/// The result of the API call.
/// </summary>
@@ -37,11 +47,5 @@ namespace AMWD.Net.Api.Cloudflare
/// </summary>
[JsonProperty("result_info")]
public PaginationInfo? ResultInfo { get; set; }
/// <summary>
/// Information about the processing time of a request.
/// </summary>
[JsonProperty("timing")]
public RecordProcessTiming? Timing { get; set; }
}
}