Added 'Account Custom Nameserver' extensions

This commit is contained in:
2025-07-10 12:37:14 +02:00
parent 8ae7681fc8
commit 9f97e2b17d
8 changed files with 488 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
namespace AMWD.Net.Api.Cloudflare.Dns
{
/// <summary>
/// Represents a request to add a custom nameserver.
/// </summary>
public class AddCustomNameserverRequest
{
/// <summary>
/// Initializes a new instance of the <see cref="AddCustomNameserverRequest"/> class.
/// </summary>
/// <param name="accountId">The account identifier.</param>
/// <param name="nameserverName">The FQDN of the name server.</param>
public AddCustomNameserverRequest(string accountId, string nameserverName)
{
AccountId = accountId;
NameserverName = nameserverName;
}
/// <summary>
/// The account identifier.
/// </summary>
public string AccountId { get; set; }
/// <summary>
/// The FQDN of the name server.
/// </summary>
public string NameserverName { get; set; }
/// <summary>
/// The number of the set that this name server belongs to.
/// </summary>
public int? NameserverSet { get; set; }
}
}