Add "ZoneSettings" extensions

This commit is contained in:
2025-07-09 08:21:36 +02:00
parent b5279b60a8
commit a916d49b11
69 changed files with 3004 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
namespace AMWD.Net.Api.Cloudflare.Zones
{
/// <summary>
/// Turn on or off Cloudflare error pages generated from issues sent from the origin
/// server. If enabled, this setting triggers error pages issued by the origin.
/// </summary>
public class OriginErrorPagePassThru : ZoneSettingBase
{
/// <summary>
/// Initializes a new instance of the <see cref="OriginErrorPagePassThru"/> class.
/// </summary>
public OriginErrorPagePassThru()
{
Id = ZoneSettingId.OriginErrorPagePassThru;
}
/// <summary>
/// The status of Origin Error Page Passthru.
/// </summary>
[JsonProperty("value")]
public OnOffState? Value { get; set; }
}
}