Added 'DnsRecords' extensions

This commit is contained in:
2025-07-16 20:09:27 +02:00
parent 6a3b2d93c6
commit 3614d0344b
54 changed files with 6165 additions and 12 deletions

View File

@@ -0,0 +1,33 @@
namespace AMWD.Net.Api.Cloudflare.Dns
{
/// <summary>
/// Represents a request to import DNS records.
/// </summary>
public class ImportDnsRecordsRequest
{
/// <summary>
/// Initializes a new instance of the <see cref="ImportDnsRecordsRequest"/> class.
/// </summary>
/// <param name="zoneId">The zone identifier.</param>
public ImportDnsRecordsRequest(string zoneId)
{
ZoneId = zoneId;
}
/// <summary>
/// The zone identifier.
/// </summary>
public string ZoneId { get; set; }
/// <summary>
/// BIND config to import.
/// </summary>
public string? File { get; set; }
/// <summary>
/// Whether or not proxiable records should receive the performance and
/// security benefits of Cloudflare.
/// </summary>
public bool? Proxied { get; set; }
}
}