Class BatchDnsRecordsResult
- Namespace
- Cloudflare.NET.Dns.Models
- Assembly
- Cloudflare.NET.dll
Result of a batch DNS records operation.
Contains the results of each operation type. Each array contains the resulting DNS records (for creates/updates) or the deleted records (for deletes).
public record BatchDnsRecordsResult : IEquatable<BatchDnsRecordsResult>
- Inheritance
-
BatchDnsRecordsResult
- Implements
- Inherited Members
Constructors
BatchDnsRecordsResult(IReadOnlyList<DnsRecord>?, IReadOnlyList<DnsRecord>?, IReadOnlyList<DnsRecord>?, IReadOnlyList<DnsRecord>?)
Result of a batch DNS records operation.
Contains the results of each operation type. Each array contains the resulting DNS records (for creates/updates) or the deleted records (for deletes).
public BatchDnsRecordsResult(IReadOnlyList<DnsRecord>? Deletes = null, IReadOnlyList<DnsRecord>? Patches = null, IReadOnlyList<DnsRecord>? Puts = null, IReadOnlyList<DnsRecord>? Posts = null)
Parameters
DeletesIReadOnlyList<DnsRecord>Results of delete operations (the deleted records).
PatchesIReadOnlyList<DnsRecord>Results of patch operations (the updated records).
PutsIReadOnlyList<DnsRecord>Results of put operations (the replaced records).
PostsIReadOnlyList<DnsRecord>Results of post (create) operations (the new records).
Properties
Deletes
Results of delete operations (the deleted records).
[JsonPropertyName("deletes")]
public IReadOnlyList<DnsRecord>? Deletes { get; init; }
Property Value
Patches
Results of patch operations (the updated records).
[JsonPropertyName("patches")]
public IReadOnlyList<DnsRecord>? Patches { get; init; }
Property Value
Posts
Results of post (create) operations (the new records).
[JsonPropertyName("posts")]
public IReadOnlyList<DnsRecord>? Posts { get; init; }
Property Value
Puts
Results of put operations (the replaced records).
[JsonPropertyName("puts")]
public IReadOnlyList<DnsRecord>? Puts { get; init; }