namespace AMWD.Net.Api.Cloudflare.Zones
{
///
/// Represents a request to edit a zone setting.
///
///
public class EditZoneSettingRequest
{
///
/// Initializes a new instance of the class.
///
/// The zone identifier.
/// The zone setting.
public EditZoneSettingRequest(string zoneId, T setting)
{
ZoneId = zoneId;
Setting = setting;
}
///
/// The zone identifier.
///
public string ZoneId { get; set; }
///
/// The zone setting.
///
public T Setting { get; set; }
///
/// Indicates whether the setting should be enabled or disabled.
///
///
/// If this property is not ,
/// the value of the will not be modified.
///
public bool? Enabled { get; set; }
}
}