Table of Contents

Class GetTemplatesResponse

Namespace
Vonage.VerifyV2.GetTemplates
Assembly
Vonage.dll

Represents a paginated response containing a list of custom verification templates.

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

Constructors

Represents a paginated response containing a list of custom verification templates.

public GetTemplatesResponse(int PageSize, int Page, int TotalPages, int TotalItems, GetTemplatesEmbedded Embedded, HalLinks<GetTemplatesHalLink> Links)

Parameters

PageSize int

The number of templates returned per page.

Page int

The current page number (1-based index).

TotalPages int

The total number of pages available.

TotalItems int

The total number of templates across all pages.

Embedded GetTemplatesEmbedded

The embedded collection containing the template array.

Links HalLinks<GetTemplatesHalLink>

HAL navigation links for pagination (self, next, prev, first, last).

Properties

Embedded

The embedded collection containing the template array.

[JsonPropertyName("_embedded")]
[JsonPropertyOrder(4)]
public GetTemplatesEmbedded Embedded { get; init; }

Property Value

GetTemplatesEmbedded

HAL navigation links for pagination (self, next, prev, first, last).

[JsonPropertyName("_links")]
[JsonPropertyOrder(5)]
public HalLinks<GetTemplatesHalLink> Links { get; init; }

Property Value

HalLinks<GetTemplatesHalLink>

Page

The current page number (1-based index).

[JsonPropertyName("page")]
[JsonPropertyOrder(1)]
public int Page { get; init; }

Property Value

int

PageSize

The number of templates returned per page.

[JsonPropertyName("page_size")]
[JsonPropertyOrder(0)]
public int PageSize { get; init; }

Property Value

int

TotalItems

The total number of templates across all pages.

[JsonPropertyName("total_items")]
[JsonPropertyOrder(3)]
public int TotalItems { get; init; }

Property Value

int

TotalPages

The total number of pages available.

[JsonPropertyName("total_pages")]
[JsonPropertyOrder(2)]
public int TotalPages { get; init; }

Property Value

int