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
IdstringFilter by custom hostname ID.
HostnamestringFilter by hostname (partial match).
SslSslStatus?Filter by SSL certificate status.
OrderBystringThe field to order results by.
DirectionListOrderDirection?The sort direction (ascending or descending).
Pageint?The page number of results to retrieve.
PerPageint?The number of results per page (max 50).
Properties
Direction
The sort direction (ascending or descending).
public ListOrderDirection? Direction { get; init; }
Property Value
Hostname
Filter by hostname (partial match).
public string? Hostname { get; init; }
Property Value
Id
Filter by custom hostname ID.
public string? Id { get; init; }
Property Value
OrderBy
The field to order results by.
public string? OrderBy { get; init; }
Property Value
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; }