Reorganize, shared entities from TypeScript SDK

https://github.com/cloudflare/cloudflare-typescript/blob/v4.4.1/src/resources/shared.ts
This commit is contained in:
2025-06-24 09:16:43 +02:00
parent d64e445a79
commit 135e1a11f3
49 changed files with 1719 additions and 237 deletions

View File

@@ -0,0 +1,37 @@
using System.Runtime.Serialization;
using Newtonsoft.Json.Converters;
namespace AMWD.Net.Api.Cloudflare
{
/// <summary>
/// The Certificate Authority that will issue the certificate.
/// <see href="https://github.com/cloudflare/cloudflare-typescript/blob/v4.4.1/src/resources/shared.ts#L110">Source</see>
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum CertificateCA
{
/// <summary>
/// DigiCert.
/// </summary>
[EnumMember(Value = "digicert")]
DigiCert = 1,
/// <summary>
/// Google.
/// </summary>
[EnumMember(Value = "google")]
Google = 2,
/// <summary>
/// Let's Encrypt.
/// </summary>
[EnumMember(Value = "lets_encrypt")]
LetsEncrypt = 3,
/// <summary>
/// SSL.com.
/// </summary>
[EnumMember(Value = "ssl_com")]
SslCom = 4
}
}