namespace AMWD.Net.Api.Cloudflare.Zones
{
///
/// Represents a request to update a zone hold.
///
public class UpdateZoneHoldRequest
{
///
/// Initializes a new instance of the class.
///
/// The zone identifier.
public UpdateZoneHoldRequest(string zoneId)
{
ZoneId = zoneId;
}
///
/// The zone identifier.
///
public string ZoneId { get; set; }
///
/// If the value is provided and future-dated, the hold will be temporarily disabled,
/// then automatically re-enabled by the system at the time specified in this timestamp.
/// A past-dated value will have no effect on an existing, enabled hold.
/// Providing an empty string will set its value to the current time.
///
public DateTime? HoldAfter { get; set; }
///
/// If , the zone hold will extend to block any subdomain of the given zone, as well as SSL4SaaS Custom Hostnames.
/// For example, a zone hold on a zone with the hostname 'example.com' and =
/// will block 'example.com', 'staging.example.com', 'api.staging.example.com', etc.
///
public bool? IncludeSubdomains { get; set; }
}
}