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
TypeDnsRecordType?Filter by DNS record type.
NamestringFilter by exact hostname.
ContentstringFilter by record content.
Proxiedbool?Filter by proxied status.
Pageint?Page number (1-indexed).
PerPageint?Number of records per page (max 100).
OrderstringField to order by (e.g., "name", "type", "content").
DirectionListOrderDirection?Sort direction.
Properties
Content
Filter by record content.
public string? Content { get; init; }
Property Value
Direction
Sort direction.
public ListOrderDirection? Direction { get; init; }
Property Value
Name
Filter by exact hostname.
public string? Name { get; init; }
Property Value
Order
Field to order by (e.g., "name", "type", "content").
public string? Order { get; init; }
Property Value
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; }