Table of Contents

Class ListAccountsFilters

Namespace
Cloudflare.NET.Accounts.Models
Assembly
Cloudflare.NET.dll

Filtering and pagination options for listing accounts.

All properties are optional. When not specified, API defaults are used.

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

Remarks

Pagination defaults: page = 1, per_page = 20

Per page limits: minimum 5, maximum 50

Constructors

ListAccountsFilters(string?, int?, int?, ListOrderDirection?)

Filtering and pagination options for listing accounts.

All properties are optional. When not specified, API defaults are used.

public ListAccountsFilters(string? Name = null, int? Page = null, int? PerPage = null, ListOrderDirection? Direction = null)

Parameters

Name string

Filter accounts by name (partial match). Returns accounts whose name contains this value (case-insensitive).

Page int?

Page number of paginated results. Minimum value is 1. Default is 1 if not specified.

PerPage int?

Number of accounts per page. Valid range: 5 to 50. Default is 20 if not specified.

Direction ListOrderDirection?

Direction to order results. When specified, results are sorted in the given direction (ascending or descending).

Remarks

Pagination defaults: page = 1, per_page = 20

Per page limits: minimum 5, maximum 50

Properties

Direction

Direction to order results. When specified, results are sorted in the given direction (ascending or descending).

public ListOrderDirection? Direction { get; init; }

Property Value

ListOrderDirection?

Name

Filter accounts by name (partial match). Returns accounts whose name contains this value (case-insensitive).

public string? Name { get; init; }

Property Value

string

Page

Page number of paginated results. Minimum value is 1. Default is 1 if not specified.

public int? Page { get; init; }

Property Value

int?

PerPage

Number of accounts per page. Valid range: 5 to 50. Default is 20 if not specified.

public int? PerPage { get; init; }

Property Value

int?