Class UpdateCustomDomainRequest
- Namespace
- Cloudflare.NET.Accounts.Models
- Assembly
- Cloudflare.NET.dll
Defines the request payload for updating a custom domain configuration.
public record UpdateCustomDomainRequest : IEquatable<UpdateCustomDomainRequest>
- Inheritance
-
UpdateCustomDomainRequest
- Implements
- Inherited Members
Constructors
UpdateCustomDomainRequest(bool?, string?)
Defines the request payload for updating a custom domain configuration.
public UpdateCustomDomainRequest(bool? Enabled = null, string? MinTls = null)
Parameters
Enabledbool?Whether the domain should be enabled.
MinTlsstringOptional minimum TLS version (e.g., "1.2", "1.3").
Properties
Enabled
Whether the domain should be enabled.
[JsonPropertyName("enabled")]
public bool? Enabled { get; init; }
Property Value
- bool?
MinTls
Optional minimum TLS version (e.g., "1.2", "1.3").
[JsonPropertyName("minTLS")]
public string? MinTls { get; init; }