Changed folder structure, added explicit nullable for extensions.

This commit is contained in:
2024-10-31 13:07:39 +01:00
parent eadd35ac09
commit 935632df27
45 changed files with 1121 additions and 214 deletions

View File

@@ -0,0 +1,30 @@
using System.Runtime.Serialization;
using Newtonsoft.Json.Converters;
namespace AMWD.Net.Api.Cloudflare.Zones
{
/// <summary>
/// Zone modes.
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum ZoneMode
{
/// <summary>
/// Standard.
/// </summary>
[EnumMember(Value = "standard")]
Standard = 1,
/// <summary>
/// Only as CDN.
/// </summary>
[EnumMember(Value = "cdn_only")]
CdnOnly = 2,
/// <summary>
/// Only as DNS.
/// </summary>
[EnumMember(Value = "dns_only")]
DnsOnly = 3,
}
}