Add "ZoneHold" extensions

This commit is contained in:
2025-06-24 20:44:09 +02:00
parent f9b7dcb7d2
commit 682f25ae75
13 changed files with 724 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
namespace AMWD.Net.Api.Cloudflare.Zones
{
/// <summary>
/// A Cloudflare zone hold.
/// <see href="https://github.com/cloudflare/cloudflare-typescript/blob/v4.4.1/src/resources/zones/holds.ts#L88">Source</see>
/// </summary>
public class ZoneHold
{
/// <summary>
/// Whether the zone is on hold.
/// </summary>
[JsonProperty("hold")]
public bool? Hold { get; set; }
/// <summary>
/// The hold is enabled if the value is in the past.
/// </summary>
[JsonProperty("hold_after")]
public DateTime? HoldAfter { get; set; }
/// <summary>
/// Whether to include subdomains in the hold.
/// </summary>
[JsonProperty("include_subdomains")]
public bool? IncludeSubdomains { get; set; }
}
}