Table of Contents

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

Deletes IReadOnlyList<DnsRecord>

Results of delete operations (the deleted records).

Patches IReadOnlyList<DnsRecord>

Results of patch operations (the updated records).

Puts IReadOnlyList<DnsRecord>

Results of put operations (the replaced records).

Posts IReadOnlyList<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

IReadOnlyList<DnsRecord>

Patches

Results of patch operations (the updated records).

[JsonPropertyName("patches")]
public IReadOnlyList<DnsRecord>? Patches { get; init; }

Property Value

IReadOnlyList<DnsRecord>

Posts

Results of post (create) operations (the new records).

[JsonPropertyName("posts")]
public IReadOnlyList<DnsRecord>? Posts { get; init; }

Property Value

IReadOnlyList<DnsRecord>

Puts

Results of put operations (the replaced records).

[JsonPropertyName("puts")]
public IReadOnlyList<DnsRecord>? Puts { get; init; }

Property Value

IReadOnlyList<DnsRecord>