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,24 @@
namespace AMWD.Net.Api.Cloudflare.Zones
{
/// <summary>
/// Opportunistic Encryption allows browsers to access HTTP URIs over an encrypted
/// TLS channel. It's not a substitute for HTTPS, but provides additional security
/// for otherwise vulnerable requests.
/// </summary>
public class OpportunisticEncryption : ZoneSettingBase
{
/// <summary>
/// Initializes a new instance of the <see cref="OpportunisticEncryption"/> class.
/// </summary>
public OpportunisticEncryption()
{
Id = ZoneSettingId.OpportunisticEncryption;
}
/// <summary>
/// The status of Opportunistic Encryption.
/// </summary>
[JsonProperty("value")]
public OnOffState? Value { get; set; }
}
}