Added missing priority on DNS record

This commit is contained in:
2024-11-15 17:16:37 +01:00
parent 9322f2ba6a
commit d44713b179
5 changed files with 32 additions and 12 deletions

View File

@@ -46,6 +46,16 @@ namespace AMWD.Net.Api.Cloudflare.Zones
[JsonProperty("content")]
public string? Content { get; set; }
/// <summary>
/// The priority.
/// </summary>
/// <remarks>
/// Required for <see cref="DnsRecordType.Mx"/>, <see cref="DnsRecordType.Srv"/> and <see cref="DnsRecordType.Uri"/> records; unused by other record types.
/// Records with lower priorities are preferred.
/// </remarks>
[JsonProperty("priority")]
public ushort? Priority { get; set; }
/// <summary>
/// Components associated with the record.
/// </summary>