Table of Contents

Class GetAddressesResponse

Namespace
Vonage.Voice.Emergency.GetAddresses
Assembly
Vonage.dll

Represents a paginated response containing emergency addresses.

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

Constructors

GetAddressesResponse(int, int, int, int, GetAddressesEmbedded)

Represents a paginated response containing emergency addresses.

public GetAddressesResponse(int Page, int PageSize, int TotalPages, int TotalItems, GetAddressesEmbedded Embedded)

Parameters

Page int

The current page number (1-based).

PageSize int

The number of addresses returned per page.

TotalPages int

The total number of pages available.

TotalItems int

The total number of addresses across all pages.

Embedded GetAddressesEmbedded

The embedded collection of addresses for the current page.

Properties

Embedded

The embedded collection of addresses for the current page.

[JsonPropertyName("_embedded")]
public GetAddressesEmbedded Embedded { get; init; }

Property Value

GetAddressesEmbedded

Page

The current page number (1-based).

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

Property Value

int

PageSize

The number of addresses returned per page.

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

Property Value

int

TotalItems

The total number of addresses across all pages.

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

Property Value

int

TotalPages

The total number of pages available.

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

Property Value

int