https://github.com/cloudflare/cloudflare-typescript/blob/v4.4.1/src/resources/shared.ts
34 lines
903 B
C#
34 lines
903 B
C#
namespace AMWD.Net.Api.Cloudflare
|
|
{
|
|
/// <summary>
|
|
/// Information about pagination.
|
|
/// <see href="https://github.com/cloudflare/cloudflare-typescript/blob/v4.4.1/src/resources/shared.ts#L464">Source</see>
|
|
/// </summary>
|
|
public class PaginationInfo
|
|
{
|
|
/// <summary>
|
|
/// Total number of results for the requested service.
|
|
/// </summary>
|
|
[JsonProperty("count")]
|
|
public int? Count { get; set; }
|
|
|
|
/// <summary>
|
|
/// Current page within paginated list of results.
|
|
/// </summary>
|
|
[JsonProperty("page")]
|
|
public int? Page { get; set; }
|
|
|
|
/// <summary>
|
|
/// Number of results per page of results.
|
|
/// </summary>
|
|
[JsonProperty("per_page")]
|
|
public int? PerPage { get; set; }
|
|
|
|
/// <summary>
|
|
/// Total results available without any search parameters.
|
|
/// </summary>
|
|
[JsonProperty("total_count")]
|
|
public int? TotalCount { get; set; }
|
|
}
|
|
}
|