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
PageintThe current page number (1-based).
PageSizeintThe number of addresses returned per page.
TotalPagesintThe total number of pages available.
TotalItemsintThe total number of addresses across all pages.
EmbeddedGetAddressesEmbeddedThe 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
Page
The current page number (1-based).
[JsonPropertyName("page")]
public int Page { get; init; }
Property Value
PageSize
The number of addresses returned per page.
[JsonPropertyName("page_size")]
public int PageSize { get; init; }
Property Value
TotalItems
The total number of addresses across all pages.
[JsonPropertyName("total_items")]
public int TotalItems { get; init; }
Property Value
TotalPages
The total number of pages available.
[JsonPropertyName("total_pages")]
public int TotalPages { get; init; }