Table of Contents

Class ListDnsRecordsFilters

Namespace
Cloudflare.NET.Dns.Models
Assembly
Cloudflare.NET.dll

Defines the filtering and pagination options for listing DNS records.

public record ListDnsRecordsFilters : IEquatable<ListDnsRecordsFilters>
Inheritance
ListDnsRecordsFilters
Implements
Inherited Members

Constructors

ListDnsRecordsFilters(DnsRecordType?, string?, string?, bool?, int?, int?, string?, ListOrderDirection?)

Defines the filtering and pagination options for listing DNS records.

public ListDnsRecordsFilters(DnsRecordType? Type = null, string? Name = null, string? Content = null, bool? Proxied = null, int? Page = null, int? PerPage = null, string? Order = null, ListOrderDirection? Direction = null)

Parameters

Type DnsRecordType?

Filter by DNS record type.

Name string

Filter by exact hostname.

Content string

Filter by record content.

Proxied bool?

Filter by proxied status.

Page int?

Page number (1-indexed).

PerPage int?

Number of records per page (max 100).

Order string

Field to order by (e.g., "name", "type", "content").

Direction ListOrderDirection?

Sort direction.

Properties

Content

Filter by record content.

public string? Content { get; init; }

Property Value

string

Direction

Sort direction.

public ListOrderDirection? Direction { get; init; }

Property Value

ListOrderDirection?

Name

Filter by exact hostname.

public string? Name { get; init; }

Property Value

string

Order

Field to order by (e.g., "name", "type", "content").

public string? Order { get; init; }

Property Value

string

Page

Page number (1-indexed).

public int? Page { get; init; }

Property Value

int?

PerPage

Number of records per page (max 100).

public int? PerPage { get; init; }

Property Value

int?

Proxied

Filter by proxied status.

public bool? Proxied { get; init; }

Property Value

bool?

Type

Filter by DNS record type.

public DnsRecordType? Type { get; init; }

Property Value

DnsRecordType?