Table of Contents

Class ListCustomHostnamesFilters

Namespace
Cloudflare.NET.Zones.CustomHostnames.Models
Assembly
Cloudflare.NET.dll

Defines the filtering and pagination options for listing custom hostnames.

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

Constructors

ListCustomHostnamesFilters(string?, string?, SslStatus?, string?, ListOrderDirection?, int?, int?)

Defines the filtering and pagination options for listing custom hostnames.

public ListCustomHostnamesFilters(string? Id = null, string? Hostname = null, SslStatus? Ssl = null, string? OrderBy = null, ListOrderDirection? Direction = null, int? Page = null, int? PerPage = null)

Parameters

Id string

Filter by custom hostname ID.

Hostname string

Filter by hostname (partial match).

Ssl SslStatus?

Filter by SSL certificate status.

OrderBy string

The field to order results by.

Direction ListOrderDirection?

The sort direction (ascending or descending).

Page int?

The page number of results to retrieve.

PerPage int?

The number of results per page (max 50).

Properties

Direction

The sort direction (ascending or descending).

public ListOrderDirection? Direction { get; init; }

Property Value

ListOrderDirection?

Hostname

Filter by hostname (partial match).

public string? Hostname { get; init; }

Property Value

string

Id

Filter by custom hostname ID.

public string? Id { get; init; }

Property Value

string

OrderBy

The field to order results by.

public string? OrderBy { get; init; }

Property Value

string

Page

The page number of results to retrieve.

public int? Page { get; init; }

Property Value

int?

PerPage

The number of results per page (max 50).

public int? PerPage { get; init; }

Property Value

int?

Ssl

Filter by SSL certificate status.

public SslStatus? Ssl { get; init; }

Property Value

SslStatus?