Class LoadRecordsHalLink
- Namespace
- Vonage.Reports.LoadRecords
- Assembly
- Vonage.dll
Represents a HAL navigation link in a synchronous records response, and can convert itself into a new request for fetching the linked page.
public record LoadRecordsHalLink : IEquatable<LoadRecordsHalLink>
- Inheritance
-
LoadRecordsHalLink
- Implements
- Inherited Members
Constructors
LoadRecordsHalLink(Uri)
Represents a HAL navigation link in a synchronous records response, and can convert itself into a new request for fetching the linked page.
public LoadRecordsHalLink(Uri Href)
Parameters
HrefUriThe URL of the linked resource.
Properties
Href
The URL of the linked resource.
public Uri Href { get; init; }
Property Value
Methods
BuildRequest()
Builds a LoadRecordsRequest from the query parameters encoded in this link's URL, allowing direct navigation to the next or previous page without manually reconstructing the request.
public Result<LoadRecordsRequest> BuildRequest()
Returns
- Result<LoadRecordsRequest>
A Result<T> containing the request, or a failure if required parameters are missing or invalid.