Class ListR2BucketsFilters
- Namespace
- Cloudflare.NET.Accounts.Models
- Assembly
- Cloudflare.NET.dll
Defines the filtering and pagination options for listing R2 Buckets.
public record ListR2BucketsFilters : IEquatable<ListR2BucketsFilters>
- Inheritance
-
ListR2BucketsFilters
- Implements
- Inherited Members
Constructors
ListR2BucketsFilters(int?, string?, string?, string?, string?, string?)
Defines the filtering and pagination options for listing R2 Buckets.
public ListR2BucketsFilters(int? PerPage = null, string? Cursor = null, string? NameContains = null, string? Order = null, string? Direction = null, string? StartAfter = null)
Parameters
PerPageint?The number of buckets to return per page (1-1000).
CursorstringThe cursor for the next page of results.
NameContainsstringFilter to only return buckets with this phrase in their name.
OrderstringThe field to order buckets by. Currently only "name" is supported.
DirectionstringThe direction to order buckets: "asc" (ascending) or "desc" (descending).
StartAfterstringThe bucket name to start searching after. Buckets are ordered lexicographically.
Properties
Cursor
The cursor for the next page of results.
[JsonPropertyName("cursor")]
public string? Cursor { get; init; }
Property Value
Direction
The direction to order buckets: "asc" (ascending) or "desc" (descending).
[JsonPropertyName("direction")]
public string? Direction { get; init; }
Property Value
NameContains
Filter to only return buckets with this phrase in their name.
[JsonPropertyName("name_contains")]
public string? NameContains { get; init; }
Property Value
Order
The field to order buckets by. Currently only "name" is supported.
[JsonPropertyName("order")]
public string? Order { get; init; }
Property Value
PerPage
The number of buckets to return per page (1-1000).
[JsonPropertyName("per_page")]
public int? PerPage { get; init; }
Property Value
- int?
StartAfter
The bucket name to start searching after. Buckets are ordered lexicographically.
[JsonPropertyName("start_after")]
public string? StartAfter { get; init; }