Table of Contents

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

Count int

The number of items in the current page.

PerPage int

The number of items per page.

Cursor string

A 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

int

Cursor

A token that can be used to fetch the next page of results.

[JsonPropertyName("cursor")]
public string? Cursor { get; init; }

Property Value

string

PerPage

The number of items per page.

[JsonPropertyName("per_page")]
public int PerPage { get; init; }

Property Value

int