Table of Contents

Class GetTemplateFragmentsResponse

Namespace
Vonage.VerifyV2.GetTemplateFragments
Assembly
Vonage.dll

Represents a paginated response containing a list of template fragments for a specific template.

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

Constructors

Represents a paginated response containing a list of template fragments for a specific template.

public GetTemplateFragmentsResponse(int PageSize, int Page, int TotalPages, int TotalItems, GetTemplateFragmentsEmbedded Embedded, HalLinks<GetTemplateFragmentsHalLink> Links)

Parameters

PageSize int

The number of fragments 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 template fragments across all pages.

Embedded GetTemplateFragmentsEmbedded

The embedded collection containing the template fragments array.

Links HalLinks<GetTemplateFragmentsHalLink>

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

Properties

Embedded

The embedded collection containing the template fragments array.

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

Property Value

GetTemplateFragmentsEmbedded

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

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

Property Value

HalLinks<GetTemplateFragmentsHalLink>

Page

The current page number (1-based index).

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

Property Value

int

PageSize

The number of fragments returned per page.

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

Property Value

int

TotalItems

The total number of template fragments 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