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
GetTemplatesResponse(int, int, int, int, GetTemplatesEmbedded, HalLinks<GetTemplatesHalLink>)
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
PageSizeintThe number of templates returned per page.
PageintThe current page number (1-based index).
TotalPagesintThe total number of pages available.
TotalItemsintThe total number of templates across all pages.
EmbeddedGetTemplatesEmbeddedThe embedded collection containing the template array.
LinksHalLinks<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
Links
HAL navigation links for pagination (self, next, prev, first, last).
[JsonPropertyName("_links")]
[JsonPropertyOrder(5)]
public HalLinks<GetTemplatesHalLink> Links { get; init; }
Property Value
Page
The current page number (1-based index).
[JsonPropertyName("page")]
[JsonPropertyOrder(1)]
public int Page { get; init; }
Property Value
PageSize
The number of templates returned per page.
[JsonPropertyName("page_size")]
[JsonPropertyOrder(0)]
public int PageSize { get; init; }
Property Value
TotalItems
The total number of templates across all pages.
[JsonPropertyName("total_items")]
[JsonPropertyOrder(3)]
public int TotalItems { get; init; }
Property Value
TotalPages
The total number of pages available.
[JsonPropertyName("total_pages")]
[JsonPropertyOrder(2)]
public int TotalPages { get; init; }