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,37 @@
namespace AMWD.Net.Api.Cloudflare.Zones
{
/// <summary>
/// Request to create a new zone.
/// </summary>
/// <remarks>
/// Request to create a new zone.
/// </remarks>
/// <param name="accountId">The account identifier.</param>
/// <param name="name">The domain name.</param>
public class CreateZoneRequest(string accountId, string name)
{
/// <summary>
/// The account identifier.
/// </summary>
public string AccountId { get; set; } = accountId;
/// <summary>
/// The domain name.
/// </summary>
public string Name { get; set; } = name;
/// <summary>
/// The zone type.
/// </summary>
/// <remarks>
/// <para>
/// A full zone implies that DNS is hosted with Cloudflare.
/// A partial zone is typically a partner-hosted zone or a CNAME setup.
/// </para>
/// <para>
/// If not set, Cloudflare will use <see cref="ZoneType.Full"/> as default.
/// </para>
/// </remarks>
public ZoneType? Type { get; set; }
}
}