Class UpdateZoneHoldRequest
- Namespace
- Cloudflare.NET.Zones.Models
- Assembly
- Cloudflare.NET.dll
Request to update an existing zone hold. Both fields are optional; update only the fields you want to change.
public record UpdateZoneHoldRequest : IEquatable<UpdateZoneHoldRequest>
- Inheritance
-
UpdateZoneHoldRequest
- Implements
- Inherited Members
Constructors
UpdateZoneHoldRequest(DateTime?, bool?)
Request to update an existing zone hold. Both fields are optional; update only the fields you want to change.
public UpdateZoneHoldRequest(DateTime? HoldAfter = null, bool? IncludeSubdomains = null)
Parameters
HoldAfterDateTime?The date-time when the hold should become active. Set to a past date to immediately activate the hold.
IncludeSubdomainsbool?Whether to extend the hold to all subdomains.
Properties
HoldAfter
The date-time when the hold should become active. Set to a past date to immediately activate the hold.
[JsonPropertyName("hold_after")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public DateTime? HoldAfter { get; init; }
Property Value
IncludeSubdomains
Whether to extend the hold to all subdomains.
[JsonPropertyName("include_subdomains")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public bool? IncludeSubdomains { get; init; }
Property Value
- bool?