Class CursorResultInfo
- Namespace
- Cloudflare.NET.Core.Models
- Assembly
- Cloudflare.NET.dll
Contains pagination information from a Cloudflare API list response that uses cursors.
public sealed record CursorResultInfo : IEquatable<CursorResultInfo>
- Inheritance
-
CursorResultInfo
- Implements
- Inherited Members
Constructors
CursorResultInfo(int, int, string?)
Contains pagination information from a Cloudflare API list response that uses cursors.
public CursorResultInfo(int Count, int PerPage, string? Cursor = null)
Parameters
CountintThe number of items in the current page.
PerPageintThe number of items per page.
CursorstringA token that can be used to fetch the next page of results.
Properties
Count
The number of items in the current page.
[JsonPropertyName("count")]
public int Count { get; init; }
Property Value
Cursor
A token that can be used to fetch the next page of results.
[JsonPropertyName("cursor")]
public string? Cursor { get; init; }
Property Value
PerPage
The number of items per page.
[JsonPropertyName("per_page")]
public int PerPage { get; init; }