namespace AMWD.Net.Api.Cloudflare.Zones
{
///
/// Request to import DNS records from a BIND configuration file.
///
public class ImportDnsRecordsRequest(string zoneId, string file)
{
///
/// The zone identifier.
///
public string ZoneId { get; set; } = zoneId;
///
/// Whether or not proxiable records should receive the performance and security benefits of Cloudflare.
///
public bool? Proxied { get; set; }
///
/// BIND config to import.
///
///
/// If the property is an absolute path, the content of that file will be used as the BIND configuration.
///
/// Otherwise the property will be treated as BIND configuration itself.
///
public string File { get; set; } = file;
}
}