namespace AMWD.Net.Api.Cloudflare.Dns
{
///
/// Represents a request to update DNS zone settings.
///
public class UpdateDnsZoneSettingsRequest
{
///
/// Initializes a new instance of the class.
///
/// The zone identifier.
public UpdateDnsZoneSettingsRequest(string zoneId)
{
ZoneId = zoneId;
}
///
/// The zone identifier.
///
public string ZoneId { get; set; }
///
/// Whether to flatten all CNAME records in the zone. Note that, due to
/// DNS limitations, a CNAME record at the zone apex will always be flattened.
///
public bool? FlattenAllCnames { get; set; }
///
/// Whether to enable Foundation DNS Advanced Nameservers on the zone.
///
public bool? FoundationDns { get; set; }
///
/// Settings for this internal zone.
///
public DnsZoneInternalDns? InternalDns { get; set; }
///
/// Whether to enable multi-provider DNS, which causes Cloudflare to
/// activate the zone even when non-Cloudflare NS records exist, and to respect NS
/// records at the zone apex during outbound zone transfers.
///
public bool? MultiProvider { get; set; }
///
/// Settings determining the nameservers through which the zone should be available.
///
public DnsZoneNameservers? Nameservers { get; set; }
///
/// The time to live (TTL) of the zone's nameserver (NS) records.
///
public int? NameserverTtl { get; set; }
///
/// Allows a Secondary DNS zone to use (proxied) override records and CNAME
/// flattening at the zone apex.
///
public bool? SecondaryOverrides { get; set; }
///
/// Components of the zone's SOA record.
///
public DnsZoneSoa? SOA { get; set; }
///
/// Whether the zone mode is a regular or CDN/DNS only zone.
///
public DnsZoneMode? ZoneMode { get; set; }
}
}